Skip to content

Commit

Permalink
fixed a problem with the labeling of the root directories
Browse files Browse the repository at this point in the history
  • Loading branch information
slr71 committed Feb 18, 2013
1 parent da844bf commit 54ef186
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nibblonian/irods_actions.clj
Expand Up @@ -186,7 +186,8 @@
(when (and set-own? (not (owns? cm user root-path)))
(set-permissions cm user root-path false false true))

(jargon/list-dir cm user root-path :include-subdirs false))))
(when-let [res (jargon/list-dir cm user root-path :include-subdirs false)]
(assoc res :label (id->label user (:id res)))))))

(defn create
"Creates a directory at 'path' in iRODS and sets the user to 'user'.
Expand Down

0 comments on commit 54ef186

Please sign in to comment.