Skip to content

Issue in the setup.py for non s-s bond system #16

@xy127

Description

@xy127

Hello,
Sorry to bother, I'm trying to repeat the CDK2 example in the tutorial folder by following the instructions in the Readme.md. In the third step of seting up FEP, after executing python setup.py, the following error occurs:

 usage: QligFEP [-h] -l1 LIG1 -l2 LIG2 -FF {OPLS2005,OPLS2015,AMBER14sb,CHARMM36,CHARMM22,CHARMM_TEST} -s {water,protein,vacuum} -c CLUSTER [-r SPHERERADIUS] [-b CYSBOND] [-l {1,0.5}] [-T TEMPERATURE] [-R REPLICATES]
               [-S {linear,sigmoidal,exponential,reverse_exponential}] [-w WINDOWS]
QligFEP: error: argument -b/--cysbond: expected one argument

The error is caused by the line 98 in setup.py call = setupFEP + ' -l1 ' + mol1 + ' -l2 ' + mol2 + ' -FF OPLS2015 -b' + cysbond + ' -S sigmoidal -s protein -c TETRA -r 25 -l 1 -w' + windows , where the option -b is empty. I checked the protPREP.log in 2.protprep in which no s-s bond is crearted for this protein. And if I removed the '-b' option, no error would occur. So Is there an 'if condition' missed in the setup.py so that proteins with no S-S bond don't need '-b' option.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions