Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #2. #3

Merged
merged 1 commit into from
May 20, 2015
Merged

Fix for issue #2. #3

merged 1 commit into from
May 20, 2015

Conversation

ericchansen
Copy link
Owner

Each MM3* parameter has what I call a mm3_label. It is the 1st 2
characters of the line containing the values for a given parameter. In
your case, "a2" is the mm3_label. The "a" comes from geometric
dependence on when to use that parameter.

datatypes.py contains the MM3 force field class, and it has the methods
import_ff and export_ff, which do exactly what their names suggest. The
import_ff method worked with these geometry dependent parameters, but
export_ff failed to recognize them. I have since updated datatypes.py
to let it handle this sort of issue. I also added a short test script
to check parameter labels (this is my first of hopefully many tests
that will be implemented).

The MM3 class now has a number of methods that check mm3_label using
regex. I'm still unsure whether these methods are best located here,
but this at least works for now.

Each MM3* parameter has what I call a mm3_label. It is the 1st 2
characters of the line containing the values for a given parameter. In
your case, "a2" is the mm3_label. The "a" comes from geometric
dependence on when to use that parameter.

datatypes.py contains the MM3 force field class, and it has the methods
import_ff and export_ff, which do exactly what their names suggest. The
import_ff method worked with these geometry dependent parameters, but
export_ff failed to recognize them. I have since updated datatypes.py
to let it handle this sort of issue. I also added a short test script
to check parameter labels (this is my first of hopefully many tests
that will be implemented).

The MM3 class now has a number of methods that check mm3_label using
regex. I'm still unsure whether these methods are best located here,
but this at least works for now.
ericchansen added a commit that referenced this pull request May 20, 2015
@ericchansen ericchansen merged commit bcf2764 into master May 20, 2015
@ericchansen ericchansen deleted the iss2 branch May 20, 2015 18:40
ericchansen pushed a commit that referenced this pull request Jun 8, 2016
Added FF for sulfones and combined FF.
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.

1 participant