Skip to content

Commit

Permalink
fix: qcodes standards do not allow changing parameters on overridden …
Browse files Browse the repository at this point in the history
…method
  • Loading branch information
eendebakpt committed Jan 31, 2019
1 parent d301045 commit a03c90d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions qcodes/data/hdf5_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def _create_dataarray_dset(self, array, group):

return dset

def write_metadata(self, data_set, io_manager=None, location=None, read_first=True, flush = True):
def write_metadata(self, data_set, io_manager=None, location=None, read_first=True):
"""
Writes metadata of dataset to file using write_dict_to_hdf5 method
Expand All @@ -292,8 +292,7 @@ def write_metadata(self, data_set, io_manager=None, location=None, read_first=Tr

# flush ensures buffers are written to disk
# (useful for ensuring openable by other files)
if flush:
data_set._h5_base_group.file.flush()
data_set._h5_base_group.file.flush()

def _read_list_group(self, entry_point, list_type):
d = {}
Expand Down

0 comments on commit a03c90d

Please sign in to comment.