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
I am testing psiresp to perform RESP calculation on a molecule with autogenerated conformatons, on a local qcfractal server. If I disable the conformer generation and do single conformation calculation, psiresp runs well. However, when there's multiple conformers, the program raises validation error for ProcedureGETBody.
Expected behavior
I am expecting psiRESP to end normally.
Actual behavior
(psiresp) ombrekala@ombrekala-B760-VH5:~/psiresp4$ /home/ombrekala/mambaforge/envs/psiresp/bin/python /home/ombrekala/psiresp4/resp_calc_multi.py
/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/charge.py:282: FutureWarning: `symmetric_atoms_are_equivalent` will be set to False by default for now, as it is a new feature. It will be set to True by default in the future
warnings.warn(
/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/charge.py:282: FutureWarning: `symmetric_atoms_are_equivalent` will be set to False by default for now, as it is a new feature. It will be set to True by default in the future
warnings.warn(
generate-conformers: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:03<00:00, 3.45s/it]
geometry-optimization: 0%| | 0/2 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/ombrekala/mambaforge/envs/psiresp/lib//python3.9/site-packages/qcfractal/interface/client.py", line 270, in _automodel_request
payload = body_model(**payload)
File "pydantic/main.py", line 342, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 2 validation errors for ProcedureGETBody
data -> id -> 0
none is not an allowed value (type=type_error.none.not_allowed)
data -> id
The string [None, '1'] is not a valid 24-character hexadecimal or integer ObjectId! (type=type_error)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ombrekala/psiresp4/resp_calc_multi.py", line 20, in <module>
job.run(client=client,update_molecules=True)
File "/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/job.py", line 218, in run
self.optimize_geometries(client=client)
File "/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/job.py", line 147, in optimize_geometries
results = self.qm_optimization_options.run(client=client,
File "/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/qm.py", line 209, in run
records = self.add_compute_and_wait(client, qcmols=qcmols, **kwargs)
File "/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/qm.py", line 179, in add_compute_and_wait
return self.wait_for_results(client, response_ids=response.ids)
File "/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/qm.py", line 427, in wait_for_results
results = wait(client, response_ids=response_ids,
File "/home/ombrekala/mambaforge/envs/psiresp/lib/python3.9/site-packages/psiresp/qm.py", line 467, in wait
results = query(id=response_ids)
File "/home/ombrekala/mambaforge/envs/psiresp/lib//python3.9/site-packages/qcfractal/interface/client.py", line 786, in query_procedures
response = self._automodel_request("procedure", "get", payload, full_return=True)
File "/home/ombrekala/mambaforge/envs/psiresp/lib//python3.9/site-packages/qcfractal/interface/client.py", line 272, in _automodel_request
raise TypeError(str(exc))
TypeError: 2 validation errors for ProcedureGETBody
data -> id -> 0
none is not an allowed value (type=type_error.none.not_allowed)
data -> id
The string [None, '1'] is not a valid 24-character hexadecimal or integer ObjectId! (type=type_error)
geometry-optimization: 0%| | 0/2 [00:20<?, ?it/s]
Thanks for raising this issue @zd9999cs and for looking into it further! Unfortunately I've been at the MDAnalysis UGM the past few days but I'll get to this as soon as I can.
I am testing psiresp to perform RESP calculation on a molecule with autogenerated conformatons, on a local qcfractal server. If I disable the conformer generation and do single conformation calculation, psiresp runs well. However, when there's multiple conformers, the program raises validation error for ProcedureGETBody.
Expected behavior
I am expecting psiRESP to end normally.
Actual behavior
To Reproduce
I use following script as input
Computing environment:
conda list
:The text was updated successfully, but these errors were encountered: