61 Commits

Author SHA1 Message Date
Evan Pretti
745cfcfa80 Make all template generators require explicit force field specification (#438)
* Template generators no longer choose default force fields

* Only call add_molecules() when a template generator is present

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-24 13:30:35 -07:00
Evan Pretti
7b765ec034 Support multi-residue molecules in template generator and improve performance (#430)
* Support virtual sites and multiple SMIRNOFF force fields

* Put test files where tests can actually find them

* Clean up some changes in template_generators.py

* Clean up virtual site permutation handling in test cases

* Unfinished draft

* Allow specifying multiple force fields

* Support constraints and virtual sites

* Add more tests for constraints

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Run tests on OpenMM 8.5.0 beta since we need ForceField changes

* Need openmm_dev channel

* Use correct channel names (openmm_rc for beta)

* Minor improvement to torsion handling, fix incorrect comment

* Basic test for proteins

* Default to unconstrained variant of force field when given name

* Test molecule is unstable due to vsite/H overlap

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update vsite tests with more varieties of molecules

* Autoformatter

* Update openmmforcefields/generators/template_generators.py

Co-authored-by: Josh Horton <joshua.horton@openforcefield.org>

* 1-4 exception check (not vsites) now uses non-zero scalings

* Use preset list of known force field names, update documentation

* Reduce test set size after Interchange cache behavior change

* Update openmmforcefields/tests/test_template_generators.py

Co-authored-by: Jeff Wagner <jwagnerjpl@gmail.com>

* Water constraints test also checks TIP3P inside openff_unconstrained

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix error message if preset force field file can't be located

* Update CHARMM force field scripts (see openmm/openmm#5181)

* Change caching behavior so molecules must be added

* Regenerate CHARMM force fields

* Test regenerated force fields on OpenMM 8.5.0 beta

* Refactor multi-residue molecule test

* Put back CHARMM files that didn't change other than generation date

* Add test with virtual site frame atoms spanning residue

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add test file with many amino acids

* Run tests on release version of OpenMM instead of beta

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Josh Horton <joshua.horton@openforcefield.org>
Co-authored-by: Jeff Wagner <jwagnerjpl@gmail.com>
2026-03-31 17:03:58 -07:00
dependabot[bot]
0fdae52b7f Bump mamba-org/setup-micromamba from 2 to 3 (#433)
Bumps [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) from 2 to 3.
- [Release notes](https://github.com/mamba-org/setup-micromamba/releases)
- [Commits](https://github.com/mamba-org/setup-micromamba/compare/v2...v3)

---
updated-dependencies:
- dependency-name: mamba-org/setup-micromamba
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 09:24:10 -07:00
dependabot[bot]
d2575521db Bump codecov/codecov-action from 5 to 6 (#432)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 13:15:32 -05:00
dependabot[bot]
a4cf0cfce9 Bump docker/login-action from 3 to 4 (#431)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-04 09:07:51 -08:00
Evan Pretti
0551fd1fa5 SMIRNOFF: multiple force field files, virtual sites, and constraints (#423)
* Support virtual sites and multiple SMIRNOFF force fields

* Put test files where tests can actually find them

* Clean up some changes in template_generators.py

* Clean up virtual site permutation handling in test cases

* Unfinished draft

* Allow specifying multiple force fields

* Support constraints and virtual sites

* Add more tests for constraints

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Run tests on OpenMM 8.5.0 beta since we need ForceField changes

* Need openmm_dev channel

* Use correct channel names (openmm_rc for beta)

* Minor improvement to torsion handling, fix incorrect comment

* Default to unconstrained variant of force field when given name

* Test molecule is unstable due to vsite/H overlap

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update vsite tests with more varieties of molecules

* Autoformatter

* Update openmmforcefields/generators/template_generators.py

Co-authored-by: Josh Horton <joshua.horton@openforcefield.org>

* 1-4 exception check (not vsites) now uses non-zero scalings

* Use preset list of known force field names, update documentation

* Reduce test set size after Interchange cache behavior change

* Update openmmforcefields/tests/test_template_generators.py

Co-authored-by: Jeff Wagner <jwagnerjpl@gmail.com>

* Water constraints test also checks TIP3P inside openff_unconstrained

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix error message if preset force field file can't be located

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Josh Horton <joshua.horton@openforcefield.org>
Co-authored-by: Jeff Wagner <jwagnerjpl@gmail.com>
2026-03-03 13:49:52 -08:00
dependabot[bot]
1c969a638f Bump actions/checkout from 5 to 6 (#420)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 11:06:58 -06:00
Evan Pretti
ea248b423f Bump OpenMM versions in CI to include 8.4.0 (#418) 2025-11-12 17:07:13 -08:00
dependabot[bot]
a9a41bbcef Bump actions/checkout from 4 to 5 (#402)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-11 15:56:14 -05:00
Evan Pretti
0496840ca5 Import DGL to create ~/.dgl/config.json before any tests run (#400) 2025-08-06 15:52:11 -07:00
Evan Pretti
301dad9e75 Fixes for issues and assorted cleanups to generators (#391)
* Cleanups:

* Remove residue_atoms argument of generate_residue_template() methods: fixes #379

* OpenMMSystemMixin.convert_system_to_ffxml improper_atom_ordering was silently ignored

* Removal of unused kwargs that could cause misspelled parameters to be silently ignored

* Removal of some unused local variables

* DummySystemGenerator: was broken due to early return

* Consolidate custom classproperty implementation

* Docstrings: parameters out of order, errors, formatting

* Fix OpenFF units import for older openff-toolkit version compatible with espaloma

* Fix broken DummySystemGenerator feature

* Partial charge normalization

* Use common logic for checking user-specified partial charges sum to
  total formal charge, and raising a warning if so

* GAFFTemplateGenerator no longer silently adjusts user-specified
  partial charges if they don't sum to the formal charge: fixes #373

* Cleanups to test cases:

* Consolidate propagate_dynamics() implementations into
  TemplateGeneratorBaseCase

* Remove charges_from_system(), charges_are_equal(), compute_energy(),
  and compare_energies() from TestGAFFTemplateGenerator since identical
  implementations are available in TemplateGeneratorBaseCase

* Bump CI OpenMM versions

* Testing template generator user charge feature:

* Ensure warnings are raised / not raised as appropriate (GAFF, SMIRNOFF)

* SMIRNOFF should accept user charges not matching once we warn about it

* Make template_generator_kwargs explicit

* ruff format

* Remove unused imports

* Formatting, remove unused local assignments

* Remove references to and tests for DummySystemGenerator

* Style update: import classproperty

---------

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2025-08-06 12:38:04 -07:00
Mike Henry
936291a6e3 put env block up higher in job step so it is easier to see and also fix issue with it missing 2025-07-30 14:27:06 -07:00
Mike Henry
fd86f96ff4 need to also not use --runespaloma on python 3.13 2025-07-30 14:13:35 -07:00
Mike Henry
c5e773e726 skip espaloma tests on python 3.13 (might need to also remove --runespaloma in pytest call if we are on python 3.13 -- lets see what happens) 2025-07-30 13:17:41 -07:00
Mike Henry
a483303b14 Merge branch 'main' into feat/run-espaloma-tests 2025-07-28 10:29:55 -07:00
Mike Henry
5d0c60724a drop python 3.10, add 3.13 and drop openmm 8.1.2 and test 8.3.1 (#394) 2025-07-28 10:29:41 -07:00
Mike Henry
722c2f61b6 Run espaloma tests and refactor CMMotionRemover fix
The CMMotionRemover fix should go to where we create the openff xml,
that way any system using SMIRNOFFTemplateGenerator gets the fix
2025-07-25 12:06:59 -07:00
Evan Pretti
0f838105d4 Merge remote-tracking branch 'upstream/main' into improve-molecule-filtering 2025-04-01 09:05:31 -07:00
Matthew W. Thompson
60d77420df Actually skip when force field filtered 2025-03-28 14:15:47 -05:00
Evan Pretti
675f14ad6d Update CHARMM force field to July 2024 release (#356)
* Updated files for water models and ions

* First attempt at update of CHARMM force field to July 2024 release

* Checked which excluded files that previously caused problems could now
  be included
* Checked which included files caused inconsistencies or other problems
  and needed to be excluded
* The protein-only force field didn't exist in the ffxml directory so I
  removed protein.yaml (not sure if this is desired)
* Added toppar_ions_won.str to the water models (a citation was present
  but the file was missing)
* Updated some missing citations
* Previously, there were various files for model compounds that were
  split out, but these XML files didn't have any residues in them and only
  had a few random atom types (or were entirely empty other than containing
  irrelevant references).  These have been removed.

* Excluded an ion due to residue name collision

* Update main README

* Increased flexibility of CHARMM conversion

* Added functionality to split out residues from selected CHARMM
  parameter files

* Allow specifying "fixes" to the generated XML files: can provide XPath
  to find elements, and a tree of XML elements to append as children to
  those found

* Work around some issues in ParmEd

* Copy improper objects before compression to work around ParmEd bug

* Add an XML fix for harmonic improper dihedrals to account for
  periodicity of the improper angle (to support equilibrium angles of pi)

* Handle impropers directly instead of relying on ParmEd

* Adds functionality to output impropers in a way that should be
  compatible with their explicit specification in the CHARMM force field
  files

* Ensures that impropers spanning patch and residue atoms will not be
  neglected

* Ensures that duplicate improper entries will not be written to split
  files

* Get compatible patches for patches during improper processing

An improper in a patch with some atoms in the patch might need to find
those atoms in a residue, but alternatively, the atoms might be in
another patch that also modified the residue, so search the residues
compatible with a patch for patches compatible with the residue during
improper processing.

* Split out CGenFF parameters to avoid conflicts

* Restore charmm36_protein for basic protein-only testing

* Initial implementation of new CHARMM/OpenMM test script

Goal is to replace test_charmm.py and energy.py with something cleaner
and more flexible.  Can select CHARMM (if installed), OpenMM-CHARMM,
ParmEd-CHARMM, and OpenMM-FFXML modes and compare energies and forces
across force groups.  Can define tests in a directory containing a
test.yaml file instead of having things hardcoded.  Plan to port
remaining tests over.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Corrections: typo and line too long caught automatically

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Another attempt at proper improper handling

* Uses a force field script to correctly insert impropers.  Should
  handle all cases except for ambiguous equivalent atoms (like OT1/OT2).

* Removed some miscellaneous test code from the conversion script since
  the test script handles this more thoroughly.

* Update and reorganization of testing framework

* New test script to test against CHARMM, OpenMM (reading a PSF) and
  OpenMM (reading FFXML).

* Converted old tests to new test format.

* Several new tests (amino acids and simple peptides for validation).

* Started reworking water box PSF generation as this was not placing the
  correct charges in the PSF files, leading to tests results that were
  not meaningful.

* Cleanup of test files

* Remove files left over from test system generation that are not being
  used by tests

* Remove some old test scripts whose behavior has been incorporated into
  new test script

* Note: 4- and 5-site water tests will be restored once it is determined
  how to generate the PSFs correctly with the virtual sites

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Read coordinates from file instead of standard input for performance

* Extended water tests to 4- and 5-site water boxes

* Use CHARMM to generate correct PSFs since ParmEd doesn't

* Update test script to update virtual site positions in OpenMM and skip
  testing virtual site forces (since CHARMM and OpenMM report them
  differently but accumulate them on the atoms the same way).

* Added DOPC/water box (lipid test case)

* Cleanups to splitting and add DISU atom types

* Remove extraneous debugging statements

* Formatting and linter fixes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed nucleic acid FFXML generation and added tests

* Add tests for protein-only XML file

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Compatibility fixes for generating multiple template versions

* Added tests for Drude force field

* Updated readme file for test cases

* Add CHARMM parameter set files necessary to run tests

* Update README file, add standard conversion/test run scripts

* Update generated force field files

* Fixes for nucleic acid patches in split files

* Update support to run CHARMM in Docker locally (not CI)

* Commit 1 to fix strange case-sensitivity problem

* Commit 2 to fix strange case-sensitivity problem

* Fix check to omit anisotropy script if it is unneeded

* Add CI test for CHARMM in Docker

* Point to development OpenMM and correct CI image

* Update devtools/conda-envs/test_charmm_env.yaml

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>

* Pin to specific Ubuntu version instead of latest

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2025-03-26 23:46:53 +00:00
pre-commit-ci[bot]
e6e6248af9 Maintenance updates (#355)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.8.6)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Exclude messier/auto-generated code, update

* Update pyproject.toml

Co-authored-by: Evan Pretti <pretti@stanford.edu>

* Run tests in serial

* Re-enable parallel tests

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Matthew W. Thompson <mattwthompson@protonmail.com>
Co-authored-by: Evan Pretti <pretti@stanford.edu>
2025-03-04 14:42:13 +00:00
Mike Henry
7565e25d7c Test new ambertools 24 build (#361)
* test if CI is green

* github has removed macos-12 runners

* something is weird with the ambertools build on macos-13

* test new ambertools 23 build

* try older build

* test new ambertools build

* bump ci

* update the openmm versions we test

* don't test on intel macs
2025-02-27 12:44:36 -07:00
dependabot[bot]
7a32d2d109 Bump codecov/codecov-action from 4 to 5 (#353)
* Bump codecov/codecov-action from 4 to 5

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update ci.yaml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Thompson <mattwthompson@protonmail.com>
2024-11-15 21:32:44 +00:00
dependabot[bot]
6e0c3c38b9 Bump mamba-org/setup-micromamba from 1 to 2 (#348)
Bumps [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) from 1 to 2.
- [Release notes](https://github.com/mamba-org/setup-micromamba/releases)
- [Commits](https://github.com/mamba-org/setup-micromamba/compare/v1...v2)

---
updated-dependencies:
- dependency-name: mamba-org/setup-micromamba
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Thompson <mattwthompson@protonmail.com>
2024-11-13 23:25:42 +00:00
Mike Henry
72431bbbde run latest version of openmm in CI (#345)
* run latest version of openmm

* run n, n-1 openmm versions
2024-07-29 14:13:13 -07:00
Mike Henry
38eb754ec9 re-enable gaff (#334)
* re-enable gaff

* run espaloma and gaff tests

* gaff has two fs michael

* Use 8.1.2rc1

* Update linters

* Remove Espaloma tests

* Apply suggestions from code review

Co-authored-by: Iván Pulido <2949729+ijpulidos@users.noreply.github.com>

* Use Intel macOS runners

* check if older macos works

* test all the macos versions

* see if rdkit is the issue

* Drop macOS 13

* Typo/fix

* Update dependencies

---------

Co-authored-by: Matthew W. Thompson <mattwthompson@protonmail.com>
Co-authored-by: Iván Pulido <2949729+ijpulidos@users.noreply.github.com>
2024-07-19 10:46:23 -07:00
dependabot[bot]
016c836988 Bump codecov/codecov-action from 3 to 4 (#322)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2024-05-03 15:46:06 +00:00
Matt Thompson
b685637bbe Temporarily remove GAFF because of parmchk2 issues (#329)
* Temporarily remove GAFF because of parmchk2 issues

* Drop OpenEye from tests

* Drop automerge action

* Update Python and AmberTools versions, run tests in parallel

* Remove Espaloma from test environment

* Remove Espaloma CI

* Refactor some tests to enable skipping GAFF

* Skip SPC/E test when iterating over small molecule force fields

* Update default force field in `SystemGenerator`

* Streamline testing

* Update testing setup

* Mask CodeCov upload failures

* Add release notes
2024-05-03 08:07:59 -07:00
Matt Thompson
d6a620dede Specify major version of checkout action (#314)
* Specify major version of checkout action

* bump ci

---------

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2023-12-20 13:44:33 -07:00
Matt Thompson
b147a34ac1 Merge dependabot changes (#307) 2023-10-23 15:08:30 -07:00
Matt Thompson
8660a1afe8 Scattered fixes to get CI running (#290)
* Scattered fixes

* Pin AmberTools
* Skip non-small molecule force fields at test time
* Always run tests, even if OpenEye is not licensed

* OPC

* Update Python versions

* Trim more force fields at test time

* Parametrize tests

* Revert "Parametrize tests"

This reverts commit 5b37af526f.

* Debug, comments

* Run all tests

* Testing espaloma in different workflow

* pinning dgl version

* Change name of workflow

* Testing espaloma only with latest openff toolkit

* using pytest and fixtures

* Marking espaloma tests and parametrizing

* Running espaloma tests in workflow

* Fixing call in test

* Cache test should be inside context manager

* Remove support for older openff toolkit (<0.11)

* Specifying root path for tests

* testing without the /

* fixing CI yamls

* Mark espaloma tests

* need argument for tests

* remove trailing newline

---------

Co-authored-by: Iván Pulido <2949729+ijpulidos@users.noreply.github.com>
Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2023-07-18 23:20:03 +00:00
Matt Thompson
98f3350299 Switch to setup-micromamba (#274) 2023-06-12 10:44:00 -07:00
John Chodera
f735beef2b Revert conda environment change so we can test against pre- and post- 0.11 version of openff-toolkit 2022-11-30 20:10:41 -05:00
Matt Thompson
d78f2b8258 Update docstrings, run in CI (#240)
* Update docstrings, run in CI

* Do not necessarily assume ff14SB port is installed

* Remove some references to `simtk`

$ grep -r simtk . | wc -l
       0

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2022-10-25 11:27:40 +00:00
dependabot[bot]
9309ba87b0 Bump codecov/codecov-action from 3.1.0 to 3.1.1 (#238)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 23:14:34 -07:00
Mike Henry
33d500e900 make sure we don't install the newest toolkit by mistake (#237)
* make sure we don't install the newest toolkit by mistake

* make sure we don't pull in a really old version of the toolkit

* forgot to add a verb there

* Start to make internals compatible with both unit packages

* Try different logic

* Improve logic in test

* Fix some tests

* Fix

* Fix

* Better units logic in tests

* Remove temporary code

* That's too semantic a variable name

Co-authored-by: Matthew W. Thompson <mattwthompson@protonmail.com>
2022-09-20 15:05:52 -07:00
Mike Henry
35496e5095 Fix toolkit tests (#227)
* Ensure 0.11.0 RC version of toolkit is installed

* Possible fix to finish #191

* Try to ensure bash args thing is passed through

* Naive unit refactor

* Work through tests

* Update CI matrix

* Use mamba for development

* Debug, add boilerplate .gitignore

* Fix syntax

* make sure the package didn't get installed before we install it

* Do not install Espaloma

* Fix some unit registries in tests

* install espaloma, but remove openmmforcefields

* add back in espaloma

* switch to micromamba

* Explicitly move ffxml sources into entry point

* Remove symlinking

* Add boilerplate `.gitignore`

* Update package installation in CI

* Fix finding Amber files in test

* Soft import whatever units module is used by the toolkit

* Switch to micromamba for setting up conda environment

Add boilerplate `.gitignore` file

Do not pull from non-standard labels

Install instead of update

Try to figure out why if: {{ false }} still triggers

Syntax?

Tinker

Bring in (full) mamba

Bash thing everywhere

Bring down old toolkit

Do not present un-loadable ff14SB port as available

More pins

* Fix YAML syntax

* Use pip

* More fixes

* No particles
* Fix unit serialization
* Fix Atom.element calls

* Update some tests

* Clean up un-used imports

* Fix more tests

* Fix more tests

* Exclude Python 3.10 on macOS

* Skip ff14SB being treated as a small molecule

* Fix test

* Track duration of longest 20 tests

* Update action versions

* Try to fix exclusions in CI matrix

* Fix pathing in Amber conversion

* Run `pyupgrade --py38-plus`

* Try directly uploading coverage report

* Fix syntax

* Add back some tests

* Debug

* Drop `pytest-xdist` arg

* Fiddle with path

* Just try to get stuff passing

* Try uploading again

* Switch back to codecov

* Simply coverage reporting

* Allow 0 coverage

* Simplify coverage arguments

* Add `__init__.py` in `/tests/` submodule

https://stackoverflow.com/a/60579142

* Add `__init__.py` in `/tests/` submodule

https://stackoverflow.com/a/60579142

* Simplify coverage arguments

* Add back durations argument

* Apply suggestions from code review

* only upload report if it is not scheduled

Co-authored-by: Matthew W. Thompson <mattwthompson@protonmail.com>
2022-09-15 20:59:04 +00:00
Matt Thompson
2aba880e16 Merge branch 'main' into dependabot/github_actions/actions/checkout-3.0.2 2022-09-09 20:15:31 -05:00
Matt Thompson
a5a2f2f11e Merge branch 'main' into dependabot/github_actions/actions/checkout-3.0.2 2022-09-09 18:37:58 -05:00
Matt Thompson
bc278d5127 Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-3.1.0 2022-09-09 18:37:50 -05:00
Matt Thompson
140bc79930 Tweak CI: Switch to Micromamba, pin to supported OpenFF Toolkit versions (#232)
* Switch to micromamba for setting up conda environment

Add boilerplate `.gitignore` file

Do not pull from non-standard labels

Install instead of update

Try to figure out why if: {{ false }} still triggers

Syntax?

Tinker

Bring in (full) mamba

Bash thing everywhere

Bring down old toolkit

Do not present un-loadable ff14SB port as available

More pins

* Drop 3.7, add 3.10

Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
2022-09-09 17:29:32 +00:00
Mike Henry
d4e6a07d89 add back in openeye toolkit (#226) 2022-08-19 16:51:57 -07:00
Mike Henry
8901ec45b8 make CI work on 'main' branch 2022-08-12 15:10:23 -07:00
Mike Henry
ad63a3a5ff Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-3.1.0 2022-08-12 14:50:20 -07:00
Mike Henry
7efb0c6cf5 Merge branch 'main' into dependabot/github_actions/actions/checkout-3.0.2 2022-08-12 14:50:13 -07:00
Mike Henry
51d1802bb2 fix Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized. 2022-08-05 10:18:18 -07:00
Mike Henry
4834933ba4 fix syntax issues 2022-08-04 10:05:39 -07:00
Mike Henry
09c9a33eb6 test newest version of the toolkit 2022-08-04 09:59:44 -07:00
Mike Henry
6a19869112 missed a few bits on openeye removal 2022-08-01 14:54:57 -07:00
Mike Henry
f3cafadb3a Merge branch 'master' into dependabot/github_actions/actions/checkout-3.0.2 2022-08-01 10:39:21 -07:00