Giter VIP home page Giter VIP logo

Comments (1)

ericchansen avatar ericchansen commented on June 22, 2024

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). Try pulling the iss2 branch, and then running the following code, but replace PATH_TO_MM3 with the right path.

from datatypes import *

PATH_TO_MM3 = "mm3.fld"

if __name__ == '__main__':
    ff = MM3(PATH_TO_MM3)
    ff.import_ff()
    ff.export_ff()

Alternatively, you could just run whatever command you were using before and see if that error goes away.

from q2mm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.