Commit 64803f2e authored by Jason Swails's avatar Jason Swails
Browse files

Move charmm package to internal.

parent c293c198
...@@ -145,7 +145,7 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM, ...@@ -145,7 +145,7 @@ def buildKeywordDictionary(major_version_num=MAJOR_VERSION_NUM,
"simtk.openmm", "simtk.openmm",
"simtk.openmm.app", "simtk.openmm.app",
"simtk.openmm.app.internal", "simtk.openmm.app.internal",
"simtk.openmm.app.charmm"] "simtk.openmm.app.internal.charmm"]
setupKeywords["data_files"] = [] setupKeywords["data_files"] = []
setupKeywords["package_data"] = {"simtk" : [], setupKeywords["package_data"] = {"simtk" : [],
"simtk.unit" : [], "simtk.unit" : [],
......
...@@ -26,8 +26,8 @@ from statedatareporter import StateDataReporter ...@@ -26,8 +26,8 @@ from statedatareporter import StateDataReporter
from element import Element from element import Element
from desmonddmsfile import DesmondDMSFile from desmonddmsfile import DesmondDMSFile
from checkpointreporter import CheckpointReporter from checkpointreporter import CheckpointReporter
from charmm.psf import ProteinStructure as CharmmPSF from internal.charmm.psf import ProteinStructure as CharmmPSF
from charmm.parameters import ParameterSet as CharmmParameterSet from internal.charmm.parameters import ParameterSet as CharmmParameterSet
# Enumerated values # Enumerated values
......
...@@ -7,7 +7,7 @@ Author: Jason M. Swails ...@@ -7,7 +7,7 @@ Author: Jason M. Swails
Contributors: Contributors:
Date: April 9, 2014 Date: April 9, 2014
""" """
from simtk.openmm.app.charmm.exceptions import CharmmFileError from simtk.openmm.app.internal.charmm.exceptions import CharmmFileError
class CharmmFile(object): class CharmmFile(object):
""" """
......
...@@ -7,11 +7,12 @@ Author: Jason M. Swails ...@@ -7,11 +7,12 @@ Author: Jason M. Swails
Contributors: Contributors:
Date: April 5, 2014 Date: April 5, 2014
""" """
from simtk.openmm.app.charmm._charmmfile import CharmmFile, CharmmStreamFile from simtk.openmm.app.internal.charmm._charmmfile import (
from simtk.openmm.app.charmm.topologyobjects import (AtomType, BondType, CharmmFile, CharmmStreamFile)
AngleType, DihedralType, ImproperType, CmapType, from simtk.openmm.app.internal.charmm.topologyobjects import (
UreyBradleyType, NoUreyBradley) AtomType, BondType, AngleType, DihedralType, ImproperType, CmapType,
from simtk.openmm.app.charmm.exceptions import CharmmFileError UreyBradleyType, NoUreyBradley)
from simtk.openmm.app.internal.charmm.exceptions import CharmmFileError
from simtk.openmm.app.element import Element, get_by_symbol from simtk.openmm.app.element import Element, get_by_symbol
import simtk.unit as u import simtk.unit as u
import warnings import warnings
......
...@@ -19,12 +19,14 @@ from simtk.openmm.app.amberprmtopfile import HCT, OBC1, OBC2, GBn, GBn2 ...@@ -19,12 +19,14 @@ from simtk.openmm.app.amberprmtopfile import HCT, OBC1, OBC2, GBn, GBn2
from simtk.openmm.app.internal.customgbforces import (GBSAHCTForce, from simtk.openmm.app.internal.customgbforces import (GBSAHCTForce,
GBSAOBC1Force, GBSAOBC2Force, GBSAGBnForce, GBSAGBn2Force) GBSAOBC1Force, GBSAOBC2Force, GBSAGBnForce, GBSAGBn2Force)
# CHARMM imports # CHARMM imports
from simtk.openmm.app.charmm._charmmfile import CharmmFile from simtk.openmm.app.internal.charmm._charmmfile import CharmmFile
from simtk.openmm.app.charmm.topologyobjects import (ResidueList, AtomList, from simtk.openmm.app.internal.charmm.topologyobjects import (
TrackedList, Bond, Angle, Dihedral, Improper, AcceptorDonor, ResidueList, AtomList, TrackedList, Bond, Angle, Dihedral,
Group, Cmap, UreyBradley, NoUreyBradley) Improper, AcceptorDonor, Group, Cmap, UreyBradley,
from simtk.openmm.app.charmm.exceptions import (CharmmPSFError, MoleculeError, NoUreyBradley)
CharmmPSFWarning, MissingParameter) from simtk.openmm.app.internal.charmm.exceptions import (
CharmmPSFError, MoleculeError, CharmmPSFWarning,
MissingParameter)
import warnings import warnings
TINY = 1e-8 TINY = 1e-8
......
...@@ -6,8 +6,9 @@ Author: Jason M. Swails ...@@ -6,8 +6,9 @@ Author: Jason M. Swails
Contributors: Contributors:
Date: April 9, 2014 Date: April 9, 2014
""" """
from simtk.openmm.app.charmm.exceptions import (SplitResidueWarning, BondError, from simtk.openmm.app.internal.charmm.exceptions import (
ResidueError, CmapError, MissingParameter) SplitResidueWarning, BondError, ResidueError, CmapError,
MissingParameter)
import simtk.unit as u import simtk.unit as u
import warnings import warnings
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment