Linting fix

This commit is contained in:
Matthew Evans
2023-08-18 10:20:26 +01:00
parent aa48c6d60f
commit 575e3a5bba

View File

@@ -426,11 +426,11 @@ class MPRfile:
raise ValueError("Unrecognised version for data module: %d" % raise ValueError("Unrecognised version for data module: %d" %
data_module['version']) data_module['version'])
assert(not any(remaining_headers)) assert not any(remaining_headers)
self.dtype, self.flags_dict = VMPdata_dtype_from_colIDs(column_types) self.dtype, self.flags_dict = VMPdata_dtype_from_colIDs(column_types)
self.data = np.frombuffer(main_data, dtype=self.dtype) self.data = np.frombuffer(main_data, dtype=self.dtype)
assert(self.data.shape[0] == n_data_points) assert self.data.shape[0] == n_data_points
# No idea what these 'column types' mean or even if they are actually # No idea what these 'column types' mean or even if they are actually
# column types at all # column types at all