-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: library_upload_dir: improvements #7179
WIP: library_upload_dir: improvements #7179
Conversation
f31024d
to
f909a31
Compare
major improvement: when using upload_from_galaxy_filesystem the PATH needs to be given absolute and the script generates the complete hierarchy in Galaxy library (i.e. starting from root). Now the script has an additional parameter `--root_folderi ROOT` which allows to upload ROOT/PATH into the library folder PATH. minor improvements: - added `--library_name` which allows to specify the library by name - fixed `--folder` which now works as documented, ie the root folder of the library is used if not given - added preserve dir and tag using files names - also started a bit with documentation
f909a31
to
54751c1
Compare
This script since it is here for demonstration purposes - I'm not sure it is designed to actually be used. I' rather see enhancements to https://github.com/galaxyproject/ephemeris/blob/master/src/ephemeris/setup_data_libraries.py or a second data library script there. But I'm not going to abandon this so I'll merge the PR. |
Actually, there are linting problems - will you fix those?
|
I'm fine with adding the script to ephemeris. I thought that it would fit better there. I will test this a bit more and then PR to ephemeris. |
…/bernt-matthias/galaxy into topic/improve-library_upload_dir
@bernt-matthias how do you see the future of this PR? |
I've dropped the milestone here, but I also agree with John that this should probably go as an enhancement to ephemeris (if that didn't already happen?). |
major improvement: when using upload_from_galaxy_filesystem the PATH needed to be given absolute and the script generates the complete hierarchy in Galaxy library (i.e. starting from root). Now the script has an additional parameter
--root_folder ROOT
which allows to upload ROOT/PATH into the library folder PATH.minor improvements:
--library_name
which allows to specify the library by name--folder
which now works as documented, ie the root folder of the library is used if not givenQuestions:
parsec