Skip to content

Fixed bug associated with torsion check error#27

Merged
ericchansen merged 1 commit intoericchansen:masterfrom
Q2MM:bug_fix
Jun 9, 2016
Merged

Fixed bug associated with torsion check error#27
ericchansen merged 1 commit intoericchansen:masterfrom
Q2MM:bug_fix

Conversation

@arosale4
Copy link
Copy Markdown
Contributor

@arosale4 arosale4 commented Jun 9, 2016

RE_SUB would not recognize comments in an *.mmo file that had commas such as:
-C(sp2)-, WCS (CU)

If it did not match this comment then it would not pick out the bond/angle/etc. for that line.

RE_SUB would not recognize comments in an *.mmo file that had commas such as:
-C(sp2)-, WCS (CU)

If it did not match this comment then it would not pick out the bond/angle/etc. for that line.
@ericchansen ericchansen merged commit 9c8dce4 into ericchansen:master Jun 9, 2016
@ericchansen ericchansen deleted the bug_fix branch June 10, 2016 17:12
ericchansen added a commit that referenced this pull request Jul 14, 2016
When the initial simplex score was the exact same as the final, simplex would
say

    best_ff = self.new_ffs[0]
    ...
    return best_ff.

That's the same FF as the original FF, so returning best_ff was okay. However,
it wouldn't update best_ff to contain the full parameter list.

Now, if there's no improvement in the scores, then it will do

     best_ff = self.ff
     ...
     return best_ff

This ensures that the full parameter list is retained.

Fixes issue #27.
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

Successfully merging this pull request may close these issues.

2 participants