Skip to content

If redesigned_residues_multi is supplied, the list of residues to redesign in not correct #9

@oteri

Description

@oteri

Hello,
thank you for the hard work you have been doing.
I think I spotted a bug at this line:

redesigned_residues_multi = json.load(fh)

I think, after the files is loaded, the list of residues must be split like it is done at line 109.

This is how I fixed the bug ( don't know if it is right, though):

    if args.redesigned_residues_multi:
        with open(args.redesigned_residues_multi, "r") as fh:
            redesigned_residues_multi = json.load(fh)
            redesigned_residues_multi = { pdb:redesigned_residues.split() for pdb,redesigned_residues in redesigned_residues_multi.items() }

Thank you again

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