openfold icon indicating copy to clipboard operation
openfold copied to clipboard

suggest rename scripts to of_scripts

Open OH-AU opened this issue 3 years ago • 0 comments

Hopefully a useful suggestion: local install of openfold, when attempting to run get: from scripts.utils import add_data_args ModuleNotFoundError: No module named 'scripts.utils'

this was due to an existing "scripts" package in my python sites-packages (installed by modin I believe). Considering this only gets imported in two locations: ./of_scripts/generate_alphafold_feature_dict.py run_pretrained_openfold.py

it would be a simple change which would avoid confusion with anyone else naming something "scripts" in custom packages. Renaming to of_scripts allowed everything to run. (or perhaps a more descriptive openfold_scripts).

OH-AU avatar Nov 14 '22 09:11 OH-AU