-
Notifications
You must be signed in to change notification settings - Fork 5
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
OpenMMSolutionGen().get_input_set(...) ValueError #16
Comments
I am quite confused by this. PackmolSet is not an abstract class nor is it being instantiated with Are you getting the tests to pass locally or are they currently failing? I ran the same code and ran into two errors, though not the one you described. First, the from pymatgen.io.openmm.schema import InputMoleculeSpec
from pymatgen.io.openmm.generators import OpenMMSolutionGen
water_input_mol_spec = InputMoleculeSpec(name="water", smile="O", count=100)
input_set = OpenMMSolutionGen().get_input_set(input_mol_dicts=[water_input_mol_spec], density=0.2) |
The tests are failing for me. I created a new Python 3.8 conda environment dedicated for the pymatgen-io-openmm repo and after working through installing the required dependencies, I ran the tests and they are failing:
|
@orionarcher, steps for creating the Python 3.9 environment that is failing at running pytest:
|
Hey @orionarcher,
I'm running the code below and where I get a
ValueError
from within OpenFF stating there aren't any registered toolkits can provide the capability "assign_partial_charges":I poked through the files referenced in the traceback and it seems like I need to have one of the supporting dependencies installed for one of the toolkit wrappers, so I conda installed rdkit. I then realized the
OpenMMSolutionGen.default_charge_method
default parameter is not compatible with all possible tool toolkit wrappers. I updated the instantiation to look likeOpenMMSolutionGen(default_charge_method="mmff94")
and this seems to have unsnagged this bit. Is this expected?Following that snag, I'm now snagging on this:
How can I understand what's happening here?
The text was updated successfully, but these errors were encountered: