Closed mquevill closed 4 years ago
There are a few places where the error printing shows a list of strings instead of a cohesive string. These errors should be concatenated, not additional arguments to ValueError().
ValueError()
https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/electrostaticpotential.py#L170
https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/optimization.py#L251
https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/torsionfit.py#L957
There are a few places where the error printing shows a list of strings instead of a cohesive string. These errors should be concatenated, not additional arguments to
ValueError()
.https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/electrostaticpotential.py#L170
https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/optimization.py#L251
https://github.com/pren/poltype/blob/1370038622322622fedd4b68f13e6e425c59f5e9/PoltypeModules/torsionfit.py#L957