Skip to main content

OpenFF NAGL Models

Project description

Open NAGL Models

Latest release Last release tag GitHub commits since latest release (by date) for a branch Documentation Status
Status GH Actions Status

This repository contains NAGL models released by the Open Force Field Initiative. They are intended to be used by OpenFF NAGL.

Use

Installing this package exposes an entry point that makes it easy to access models installed in this package:

>>> from pkg_resources import iter_entry_points
>>> for entry_point in iter_entry_points(group='openforcefield.nagl_model_directory'):
...     paths = entry_point.load()()
...     print(paths)
...
['/home/.../openff-nagl-models/openff/nagl_models/models']

A convenience function is provided to wrap this for you:

>>> from openff.nagl_models import load_nagl_model_directory_entry_points
>>> load_nagl_model_directory_entry_points()
['/home/.../openff-nagl-models/openff/nagl_models/models']

You can also list all available models from all entry points:

>>> from openff.nagl_models import list_available_nagl_models
>>> list_available_nagl_models()
['.../openff-nagl-models/openff/nagl_models/models/openff-gnn-am1bcc-0.0.1-alpha.1.pt', '.../openff-nagl-models/openff/nagl_models/models/openff-gnn-am1bcc-0.1.0-rc.1.pt']

Or validate if a model name is found in the local directory, or an entry point directory:

>>> from openff.nagl_models import validate_nagl_model_path
>>> validate_nagl_model_path("openff-gnn-am1bcc-0.0.1-alpha.1.pt")
'/home/.../openff-nagl-models/openff/nagl_models/models/openff-gnn-am1bcc-0.0.1-alpha.1.pt'

Versions

  • v0.0.1-alpha.1: a pre-production model to use for experimentation. We do not recommend using this model to assign charges in scientific work.
  • v0.1.0-rc1: a pre-production model to use to assign AM1-BCC partial charges.

Acknowledgements

Project based on the Computational Molecular Science Python Cookiecutter version 1.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openff-nagl-models-0.1.1.tar.gz (20.3 MB view details)

Uploaded Source

File details

Details for the file openff-nagl-models-0.1.1.tar.gz.

File metadata

  • Download URL: openff-nagl-models-0.1.1.tar.gz
  • Upload date:
  • Size: 20.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for openff-nagl-models-0.1.1.tar.gz
Algorithm Hash digest
SHA256 79c1acf289cf93bd0881e08da9089bcb80f9b89c21912c68d7e043e8bfb5f14d
MD5 93af3158a261d826b0021494efa4ce56
BLAKE2b-256 837e4adf35e8253f7d3c7571f0a1b2cdfe1499f00b5f12080fa60239f9ad1fa5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page