-
Notifications
You must be signed in to change notification settings - Fork 81
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
Openforcefields versions #115
Labels
Comments
(to trigger a notification) I've updated the table above to include |
@j-wags points out that this code will automatically discover all installed force fields! def find_all_offxml_files():
"""Return a list of the offxml files shipped with the package."""
file_names = []
for dir_path in get_forcefield_dirs_paths():
file_pattern = os.path.join(dir_path, '*.offxml')
file_paths = [file_path for file_path in glob.glob(file_pattern)]
file_names.extend([os.path.basename(file_path) for file_path in file_paths])
return file_names |
@jchodera now that 0.7.1 is online, this snippet below is supported out of the box. It's pretty much the same code, but in one place as a public API point
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This table will be updated as a part of the openforcefields release process, per https://github.com/openforcefield/openforcefields/wiki/Release-Process
Close this issue once openforcefield/openff-toolkit#477 is implemented
openff-2.0.0.offxml
openff_unconstrained-2.0.0.offxml
openff-1.2.0.offxml
openff_unconstrained-1.2.0.offxml
openff-1.1.1.offxml
openff_unconstrained-1.1.1.offxml
openff-1.1.0.offxml
openff_unconstrained-1.1.0.offxml
openff-1.0.1.offxml
openff_unconstrained-1.0.1.offxml
openff-1.0.0.offxml
openff_unconstrained-1.0.0.offxml
openff-1.0.0-RC2.offxml
openff_unconstrained-1.0.0-RC2.offxml
openff-1.0.0-RC1.offxml
openff_unconstrained-1.0.0-RC1.offxml
The text was updated successfully, but these errors were encountered: