I used local galaxy to run data. However I deleted the current library. but I think this still occupied my disk volume. I want to clean them totally, how I can do it?
Thank you very much in advance!
please have a look at the following script:
python ./scripts/cleanup_datasets/cleanup_datasets.py --help
Hope this helps,
First I added the following sentences in cleanup_datasets.py from" ./ scripts/cleanup_datasets/cleanup_datasets.py"
if [ "$GALAXY_LIB" != "/Users/biowzmailustceducn/galaxy/lib" ]: then
if [ -n "$PYTHONPATH" ]: then
The error occurs as following
File "/Users/biowzmailustceducn/galaxy/scripts/cleanup_datasets/cleanup_datasets.py", line 6
IndentationError: unexpected indent
Would you like to help me solve this problem? Thank you very much for your help!
Why do you need this?
If I just run this code, the errors like this as following:
Traceback (most recent call last):
File "/Users/biowzmailustceducn/galaxy/scripts/cleanup_datasets/cleanup_datasets.py", line 14, in <module>
from galaxy import eggs
ImportError: No module named galaxy
Would you like to help us about this?
Are you running it inside your galaxy root dir?
Thank you very much! I pasted this file under galaxy root dir, but I met another question,as follow:
File "./cleanup_datasets.py", line 531, in <module>
if __name__ == "__main__": main()
File "./cleanup_datasets.py", line 101, in main
for key, value in config_parser.items( "app:main" ):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 642, in items
ConfigParser.NoSectionError: No section: 'app:main'