Commit 8c7d198b authored by Theo Steininger's avatar Theo Steininger
Browse files

Improved exception text in a little bit.

parent 41c20c69
Pipeline #11070 passed with stage
......@@ -84,7 +84,7 @@ class _distributor_factory(object):
if not all(x == strat_list[0] for x in strat_list):
raise ValueError(about_cstring(
"ERROR: The distribution-strategy must be the same on " +
"all nodes!"))
"all nodes! Got: %s") % distribution_strategy)
# Check for an hdf5 file and open it if given
if 'h5py' in gdi and alias is not None:
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