Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Parsley 1.3.1 #12

Merged
merged 19 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,30 @@ jobs:

echo input_dir="${input_dir}" >> $GITHUB_ENV

- name: tar results
shell: bash -l {0}
run: |
bzip2 tmp.sqlite
micromamba env export > env.yaml
input_files=$(python get_files.py ${{ inputs.path }})
tar cf results.tar \
tmp.sqlite.bz2 $input_dir/output/{dde,icrmsd,rmsd,tfd}.csv \
$input_dir/output/{dde,rmsd,rmsd_cdf,tfd,tfd_cdf,bonds,angles,dihedrals,impropers}.png \
env.yaml main.py $input_files

- name: Archive results
uses: actions/upload-artifact@v4
with:
name: results
path: results.tar
retention-days: 14

- name: Upload to zenodo
env:
ZENODO_TOKEN: ${{ secrets.ZENODO_TOKEN }}
ZENODO_URL: "https://zenodo.org"
shell: bash -l {0}
run: |
bzip2 tmp.sqlite
micromamba env export > env.yaml
input_files=$(python get_files.py ${{ inputs.path }})
python zenodo_upload.py --title "YDS Upload ${{ inputs.pr_number }}" \
tmp.sqlite.bz2 $input_dir/output/{dde,icrmsd,rmsd,tfd}.csv \
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ See [datasets/README.md](datasets/README.md)

## Benchmark Results

| Submission | Description | DOI |
|----------------------------|-----------------------------------|--------------------------------------------------------------------|
| [Sage-2.1.0] | Constrained openff-2.1.0.offxml | [10.5281/zenodo.14053221](https://doi.org/10.5281/zenodo.14053221) |
| [Sage-2.1.0-unconstrained] | Unconstrained openff-2.1.0.offxml | [10.5281/zenodo.14058464](https://doi.org/10.5281/zenodo.14058464) |
| Submission | Description | DOI |
|-------------------------------|-----------------------------------|--------------------------------------------------------------------|
| [Sage-2.1.0] | Constrained openff-2.1.0.offxml | [10.5281/zenodo.14053221](https://doi.org/10.5281/zenodo.14053221) |
| [Sage-2.1.0-unconstrained] | Unconstrained openff-2.1.0.offxml | [10.5281/zenodo.14058464](https://doi.org/10.5281/zenodo.14058464) |
| [Parsley-1.3.1-unconstrained] | Unconstrained openff-1.3.1.offxml | [10.5281/zenodo.14172472](https://doi.org/10.5281/zenodo.14172472) |

[Sage-2.1.0]: submissions/2024-11-07-Sage-2.1.0
[Sage-2.1.0-unconstrained]: submissions/2024-11-08-Sage-2.1.0-unconstrained
[Parsley-1.3.1-unconstrained]: submissions/2024-11-13-Parsley-1.3.1


<!-- References -->
Expand Down
9 changes: 9 additions & 0 deletions datasets/OpenFF-Industry-Benchmark-Season-1-v1.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,12 @@ Namely, the dataset name and `chunksize` are now passed via the command line
rather than being part of a config file (`industry.yaml` in this case). For that
reason, a copy of the version of `download_and_filter_dataset.py` (previously
called `new_dataset.py`) is also included here.

Additionally, the cache file `first100.json` contains the first 100 entries in
from `cache.json` for testing purposes. This file was produced by manipulating
`cache.json` with `jq`:

``` shell
jq '{qm_molecules: .qm_molecules[:100], tag: .tag, version: .version}' cache.json > first100.json
```

Git LFS file not shown
2 changes: 1 addition & 1 deletion devtools/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ dependencies:
- tqdm

- pip:
- git+https://github.com/openforcefield/[email protected].0beta1
- git+https://github.com/openforcefield/[email protected].0
19 changes: 16 additions & 3 deletions get_files.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
# read the config file supplied as the first argument and write the associated
# files to stdout
# files to stdout, if they exist

import logging
import sys
from pathlib import Path

from config import Config

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("get_files.py")


def maybe_print(path):
if Path(path).exists():
print(path)
else:
logger.warning(f"skipping non-existent file: {path}")


conf = Config.from_file(sys.argv[1])
print(conf.forcefield)
maybe_print(conf.forcefield)
for ds in conf.datasets:
print(ds)
maybe_print(ds)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading