Commit aa550cc9 authored by Thomas Vincent's avatar Thomas Vincent

clean-up

parent 6a8be954
......@@ -95,9 +95,6 @@ class FitH5(XsocsH5Base):
:rtype: List[str]
"""
with self._get_file() as h5_file:
# TODO : this isnt pretty but for some reason the attrs.get() fails
# when there is no attribute NX_class (should return the default
# None)
return sorted(_find_NX_class(h5_file, 'NXentry'))
def processes(self, entry):
......@@ -310,7 +307,7 @@ class FitH5Writer(FitH5):
entry_grp = h5_file.require_group(entry)
entry_grp.attrs['NX_class'] = str_to_h5_utf8('NXentry')
def create_process(self,process):
def create_process(self, process):
"""Create group to store a process in entry
:param str process:
......
Markdown is supported
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