Skip to content

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

Description

@nthpham

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions