openforcefield / openff-benchmark

Comparison benchmarks between public force fields and Open Force Field Initiative force fields
MIT License
11 stars 2 forks source link

Initial implementation of ID assignment + molecule validation #16

Closed j-wags closed 3 years ago

j-wags commented 3 years ago

Description

Initial implementation, closes #8

This PR adds validate_and_assign_ids.py, as well as a stub for cli.py (which should probably be overwritten by the one that @dotsdl is writing). It also adds a ton of tests in test_validate_and_assign_ids.py and some test utilities in tests/utils.py.

The major work here is in the validate_and_assign function.

This takes as input:

Note: For now, it's permissible for the same molecule to appear in input_graph_files and input_3d_files.

This produces as output:

Questions

Status