Commit fcf4fceb authored by teresa.bister's avatar teresa.bister Committed by Teresa Bister
Browse files

[simulations] wording of Exception corrected

parent 7b774048
Pipeline #225492 passed with stages
in 6 minutes and 20 seconds
......@@ -195,7 +195,7 @@ class ObservedBound(BaseSimulation):
elif charge.size == self.ncrs:
self.crs['charge'] = np.tile(charge, self.nsets).reshape(self.shape)
else:
raise Exception("Shape of input energies not in format (nsets, ncrs).")
raise Exception("Shape of input charges not in format (nsets, ncrs).")
elif isinstance(charge, (float, np.float, int, np.int)):
self.crs['charge'] = charge
elif isinstance(charge, str):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment