MantisBT - Rosetta
View Issue Details
0000282Rosetta[All Projects] Bad Codingpublic2013-06-12 13:302013-08-29 13:43
rmoretti 
 
normalminoralways
newopen 
 
 
demos/public/dock_ligand_and_proteins/scripts/clean_pdb.py
python clean_pdb.py
0000282: Python imports issues
Some Rosetta scripts (such as demos/public/dock_ligand_and_proteins/scripts/clean_pdb.py) rely on other python modules (like source/src/python/apps/public/amino_acids.py), but when copied or run in different directories, those modules might not be on the Python path for other users.

Some common location & path should be made for these sorts of resources.
See also https://www.rosettacommons.org/node/3317 [^]
No tags attached.
Issue History
2013-06-12 13:30rmorettiNew Issue
2013-08-29 13:43rmorettiNote Added: 0000314

Notes
(0000314)
rmoretti   
2013-08-29 13:43   
Another option is to do sys.path manipulation at the top of scripts files to autodiscover the path to the module directories