Question: cleanup datasets script python
0
gravatar for k.mamoud
3.4 years ago by
k.mamoud30
Switzerland
k.mamoud30 wrote:

Hello,

I am trying to run the script cleanup_datasets.py, but I have this error :

 

(galaxy_env)[galaxy@localhost galaxy-dist]$ python scripts/cleanup_datasets/cleanup_datasets.py ../../config/galaxy.ini -d 5  -1 -r
Traceback (most recent call last):
  File "scripts/cleanup_datasets/cleanup_datasets.py", line 524, in <module>
    if __name__ == "__main__": main()
  File "scripts/cleanup_datasets/cleanup_datasets.py", line 96, in main
    for key, value in config_parser.items( "app:main" ):
  File "/usr/lib64/python2.7/ConfigParser.py", line 642, in items
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'app:main'

 

 

Best regards,

 

Mohamed

 

galaxy clean dataset • 1.2k views
ADD COMMENTlink modified 3.4 years ago by Dannon Baker3.7k • written 3.4 years ago by k.mamoud30
0
gravatar for Dannon Baker
3.4 years ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

It looks like the path to your config file is incorrect -- since you're executing from the galaxy-dist folder it'd just be (without the ../../)

python scripts/cleanup_datasets/cleanup_datasets.py -d 5  -1 -r config/galaxy.ini 
ADD COMMENTlink modified 3.4 years ago • written 3.4 years ago by Dannon Baker3.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 180 users visited in the last hour