Giter Site home page Giter Site logo

Comments (4)

martimunicoy avatar martimunicoy commented on June 12, 2024

Cases to be tested

  • Impact template should complain when a non parameterized molecule is fetched.
  • Writer should be tested

from peleffy.

martimunicoy avatar martimunicoy commented on June 12, 2024

Support

Set of three templates to use as reference: reference_templates.zip

  • metz: corresponds to the template we expect to obtain when loading the following molecule:
from offpele.topology import Molecule
from offpele.utils import get_data_file_path
from offpele.template import Impact

pdb_path = get_data_file_path('ligands/methane.pdb')
m = Molecule(pdb_path)
m.parameterize('openff_unconstrained-1.2.1.offxml')

impact = Impact(m)
  • malz: corresponds to the template we expect to obtain when loading the following molecule:
from offpele.topology import Molecule
from offpele.utils import get_data_file_path
from offpele.template import Impact

pdb_path = get_data_file_path('ligands/malonate.pdb')
m = Molecule(pdb_path)
m.parameterize('openff_unconstrained-1.2.1.offxml')

impact = Impact(m)
  • etlz: corresponds to the template we expect to obtain when loading the following molecule:
from offpele.topology import Molecule
from offpele.utils import get_data_file_path
from offpele.template import Impact

pdb_path = get_data_file_path('ligands/ethylene.pdb')
m = Molecule(pdb_path, tag='ETL')  # Note that in this case we are assigning a tag to the molecule which will be used in the Impact template
m.parameterize('openff_unconstrained-1.2.1.offxml')

impact = Impact(m)

from peleffy.

laumalo avatar laumalo commented on June 12, 2024

Implementation

The following script has been implemented in order to test the class Impact: test_templates.py

Example

from test_templates import TestImpactTemplate
test = TestImpactTemplate()
  • Impact template should complain when a non parameterized molecule is fetched or the input format is incorrect:
test.test_input()
  • Testing the writer with a reference template using OFF:
test.test_writer_OFF()
  • Testing the writer with a reference template using OPLS:
test.test_writer_OPLS()

from peleffy.

martimunicoy avatar martimunicoy commented on June 12, 2024

Support 2

I am attaching three reference Impact templates (corresponding to the ligands introduced in my previous post) obtained with the OPLS2005 force field: OPLS_reference_templates.zip

from peleffy.

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.