Skip to content

Commit

Permalink
Reapply linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 20, 2024
1 parent 16961b8 commit 6427ef4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions galvani/BioLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def __init__(self, file_or_path):
column_types = np.frombuffer(
data_module["data"][5:], dtype="u1", count=n_columns
)
remaining_headers = data_module["data"][5 + n_columns : 100]
remaining_headers = data_module["data"][5 + n_columns:100]
main_data = data_module["data"][100:]
elif data_module["version"] in [2, 3]:
column_types = np.frombuffer(
Expand All @@ -518,7 +518,7 @@ def __init__(self, file_or_path):
num_bytes_before = 406 # version 3 added `\x01` to the start
else:
num_bytes_before = 405
remaining_headers = data_module["data"][5 + 2 * n_columns : 405]
remaining_headers = data_module["data"][5 + 2 * n_columns:405]
main_data = data_module["data"][num_bytes_before:]
else:
raise ValueError(
Expand Down
2 changes: 1 addition & 1 deletion galvani/res2sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def mdb_get_data_text(s3db, filename, table):
while len(mdb_output) > 0:
insert_match = insert_pattern.match(mdb_output)
s3db.execute(insert_match.group())
mdb_output = mdb_output[insert_match.end() :]
mdb_output = mdb_output[insert_match.end():]
mdb_output += mdb_sql.stdout.read()
s3db.commit()

Expand Down

0 comments on commit 6427ef4

Please sign in to comment.