-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #256 from rmatsum836/xml_writer
Remove undefined atom types from SMARTS strings in xml writer
- Loading branch information
Showing
3 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<ForceField> | ||
<!-- Forcefield xml to test _update_defs in xml_writer.py --> | ||
<AtomTypes> | ||
<Type name="opls_135" class="CT" element="C" mass="12.01100" def="[C;X4](C)(H)(H)H" desc="alkane CH3" doi="10.1021/ja9621760" overrides="dummy_001"/> | ||
<Type name="opls_140" class="HC" element="H" mass="1.00800" def="H[%opls_135,%dummy_001]" desc="alkane H" doi="10.1021/ja9621760"/> | ||
<Type name="dummy_001" class="" element="C" mass="12.01100" def="C" desc="Dummy for test_load_xml"/> | ||
</AtomTypes> | ||
<HarmonicBondForce> | ||
<Bond class1="CT" class2="CT" length="0.1529" k="224262.4"/> | ||
<Bond class1="CT" class2="HC" length="0.109" k="284512.0"/> | ||
</HarmonicBondForce> | ||
<HarmonicAngleForce> | ||
<Angle class1="CT" class2="CT" class3="HC" angle="1.93207948196" k="313.8"/> | ||
<Angle class1="HC" class2="CT" class3="HC" angle="1.88146493365" k="276.144"/> | ||
</HarmonicAngleForce> | ||
<RBTorsionForce> | ||
<Proper class1="HC" class2="CT" class3="CT" class4="HC" c0="0.6276" c1="1.8828" c2="0.0" c3="-2.5104" c4="0.0" c5="0.0"/> | ||
</RBTorsionForce> | ||
<NonbondedForce coulomb14scale="0.5" lj14scale="0.5"> | ||
<Atom type="opls_135" charge="-0.18" sigma="0.35" epsilon="0.276144"/> | ||
<Atom type="opls_140" charge="0.06" sigma="0.25" epsilon="0.12552"/> | ||
<Atom type="dummy_001" charge="0.06" sigma="0.25" epsilon="0.12552"/> | ||
</NonbondedForce> | ||
</ForceField> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters