Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
D2O
Commits
8c7d198b
Commit
8c7d198b
authored
Mar 31, 2017
by
Theo Steininger
Browse files
Improved exception text in distributor_factory.py a little bit.
parent
41c20c69
Pipeline
#11070
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
d2o/distributor_factory.py
View file @
8c7d198b
...
@@ -84,7 +84,7 @@ class _distributor_factory(object):
...
@@ -84,7 +84,7 @@ class _distributor_factory(object):
if
not
all
(
x
==
strat_list
[
0
]
for
x
in
strat_list
):
if
not
all
(
x
==
strat_list
[
0
]
for
x
in
strat_list
):
raise
ValueError
(
about_cstring
(
raise
ValueError
(
about_cstring
(
"ERROR: The distribution-strategy must be the same on "
+
"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
# Check for an hdf5 file and open it if given
if
'h5py'
in
gdi
and
alias
is
not
None
:
if
'h5py'
in
gdi
and
alias
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment