You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm using qubekit to do some testing work. The program stopped at the "torsion_optimisation" stage.
The input molecule is a glycine.
I ran the following command: qubekit run -i mol.sdf -n mol -c config.json -s hessian -s charges -s virtual_sites -s non_bonded -s bonded_parameters -s optimisation
I tried many times and it always stopped with a "MissingParameterError"
Error
Torsiondrive finished and QM results saved.
Performing torsion optimisations using ForceBalance.
Traceback (most recent call last):
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/workflow/workflow.py", line 335, in _run_stage
result_mol = stage.run(
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/torsions/fitting/forcebalance_wrapper.py", line 274, in run
return self._optimise(molecule=molecule)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/torsions/fitting/forcebalance_wrapper.py", line 309, in _optimise
self.generate_forcefield(molecule=molecule)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/torsions/fitting/forcebalance_wrapper.py", line 353, in generate_forcefield
master_parameter = copy_mol.TorsionForce[master_dihedral]
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/forcefield/force_groups.py", line 48, in __getitem__
raise MissingParameterError
qubekit.utils.exceptions.MissingParameterError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/anaconda3/envs/qubekit/bin/qubekit", line 10, in
sys.exit(cli())
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/cli/run.py", line 135, in run
workflow.new_workflow(molecule=molecule, skip_stages=skip_stages, end=end)
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/workflow/workflow.py", line 257, in new_workflow
return self._run_workflow(
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/workflow/workflow.py", line 295, in _run_workflow
molecule = self._run_stage(
File "/home/user/anaconda3/envs/qubekit/lib/python3.8/site-packages/qubekit/workflow/workflow.py", line 359, in _run_stage
raise WorkFlowExecutionError(
qubekit.utils.exceptions.WorkFlowExecutionError: The workflow stopped unexpectedly due to the following error at stage: torsion_optimisation
Then I checked that __getitem__ in force_groups.py. But I have no idea why the item (4, 0, 1, 2) (correspongding to (5,1,2,3) in the graph) can not be found in the parameter. Much appreciate for your help.
Hello,
I'm using qubekit to do some testing work. The program stopped at the "torsion_optimisation" stage.
The input molecule is a glycine.
![image](https://private-user-images.githubusercontent.com/130122693/240567712-79fc0dcd-8316-4baa-9642-06fd8534f019.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODc2MTcsIm5iZiI6MTczOTA4NzMxNywicGF0aCI6Ii8xMzAxMjI2OTMvMjQwNTY3NzEyLTc5ZmMwZGNkLTgzMTYtNGJhYS05NjQyLTA2ZmQ4NTM0ZjAxOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwNzQ4MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kZTkxZDZmNjQzMjRlOTE4NTE2OWMwMjRiNzk5MWQxZTdjYTliMTkxY2EyNDY4MTQwNGZkMWZiZTEyMTdmZTRmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.j9DH95IEeMppOOiOxwsK7xji8N9bPCug-NLiSGz_iXM)
I ran the following command:
qubekit run -i mol.sdf -n mol -c config.json -s hessian -s charges -s virtual_sites -s non_bonded -s bonded_parameters -s optimisation
I tried many times and it always stopped with a "MissingParameterError"
Error
Then I checked that
__getitem__
in force_groups.py. But I have no idea why theitem
(4, 0, 1, 2) (correspongding to (5,1,2,3) in the graph) can not be found in theparameter
. Much appreciate for your help.Here is my environment:
conda list
The text was updated successfully, but these errors were encountered: