Skip to content

Commit

Permalink
Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Aug 18, 2023
1 parent 71a0303 commit 8697876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions galvani/BioLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,11 @@ def __init__(self, file_or_path):
raise ValueError("Unrecognised version for data module: %d" %
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.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
# column types at all
Expand Down

0 comments on commit 8697876

Please sign in to comment.