pren / poltype

POLTYPE: AMOEBA parametrization tool
https://pren.github.io/poltype
Other
4 stars 11 forks source link

Minor error printing #16

Closed mquevill closed 4 years ago

mquevill commented 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().

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