Skip to content

Commit

Permalink
adjust rule
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Aug 14, 2024
1 parent 3f0a8c0 commit 3112d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dandi_s3_log_parser/_log_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ def find_all_known_operation_types(
leave=True,
):
operation_types_per_file = {
raw_log_line[:500].split(" ")[7]
field[7]
for buffered_text_reader in BufferedTextReader(file_path=raw_s3_log_file_path)
for raw_log_line in buffered_text_reader
if len((field := raw_log_line[:500].split(" "))) > 7
}

unique_operation_types.update(operation_types_per_file)
Expand Down

0 comments on commit 3112d3f

Please sign in to comment.