Skip to content
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

Error of input for --params_files argument in structure_generation #16

Open
nthpham opened this issue Nov 28, 2024 · 0 comments
Open

Error of input for --params_files argument in structure_generation #16

nthpham opened this issue Nov 28, 2024 · 0 comments

Comments

@nthpham
Copy link

nthpham commented Nov 28, 2024

Hello,
In the description of the script, it seems that I need to have multiple parameters files to put into the argument

argparser.add_argument("--params_files", type=str, default=None, help="Path to alternative params file. Can also be multiple paths separated by ';'.")

However, I only have one parameter file from ligand and I put the following line as argument :
--params_files /home/RiffDiff/motif_library_assembly/ligand/LG1.params

I have then that following error of split for params argument. I supposed that because I don't have multiple parameters files.
File "/home/riff_diff_protflow/structure_generation.py", line 1905, in
main(arguments)
File "/home/riff_diff_protflow/structure_generation.py", line 567, in main
params = args.params.split(",")
^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'params'

How could I adjust this error ?
Thanks !
Hang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant