Re: [galaxy-dev] Best way to work with one directory and many files as 1 input (Pierre Pericard)
Hi, I'm working on the same thing, having a composite dataset with many files in many sub-folders. Well during the development & testing of the tool that uses this composite datatype, I found out that Galaxy does not handle correctly sub-dirs, it works pretty good with files but if it finds a sub-dir then the copy messes it up. To be more specific it uses shutil.copy without checking if it is file or directory, when coping dirs it has to use shutil.copytree. I managed to make our local Galaxy installation to handle them quite ok with some modifications in method DiskObjectStor.update_from_file(...) located in lib/galaxy/objectstore/__init__.py I can send you a copy of the file I've modified. Regards, Christos -- Christos Kannas Researcher Ph.D Student e-Health Laboratory <http://www.medinfo.cs.ucy.ac.cy/> kannas.christos@ucy.ac.cy kannas.christos@cs.ucy.ac.cy chriskannas@gmail.com
participants (1)
-
Christos Kannas