You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixes#82
* Changes:
* input arguments now reflects the changes made to read_molecule_file in #84
* Writing of pKa file is now optional (default behaviour has been kept). This will be particularly
useful downstream where we would just want to have access to the MoleculeContainer object.
* new test_run file specific for testing run.
* add tests
* add docs
Expected
Passing a file and some arguments to
run.single
should work:i.e.
Actual behaviour
The above worked in 3.1, however moving to 3.2 this leads to a
SystemExit
caused by agparse.Causes
From what I can tell, the following are causing this behaviour:
single calls loadOptions whose argparse call expects an
input_pdb
entry.pdbfile is overwritten by the return value of options.filenames.pop(0)
propka/propka/run.py
Line 59 in 01debbf
Possible fix
One quick fix here would be to switch single to have a behaviour similar to what is done in:
propka/tests/test_basic_regression.py
Lines 60 to 84 in 01debbf
The text was updated successfully, but these errors were encountered: