Skip to content
Permalink
Browse files

Formatting.

  • Loading branch information...
KaiSzuttor committed Mar 14, 2019
1 parent d4fb707 commit 27e4d6d597defbcec85ebe17df831ff67dcaf040
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/python/espressomd/io/writer/h5md.py
@@ -26,6 +26,7 @@

if not 'H5MD' in features():
class H5md(object):

def __init__(self, *args, **kwargs):
raise RuntimeError("H5md not available.")
else:
@@ -79,7 +80,8 @@ def __init__(self, write_ordered=True, **kwargs):
if j:
self.what_bin += self.what[i]
else:
raise ValueError("{} has to be a bool value.".format(i))
raise ValueError(
"{} has to be a bool value.".format(i))
elif i not in self.valid_params:
raise ValueError(
"Unknown parameter {} for H5MD writer.".format(i))

0 comments on commit 27e4d6d

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.