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 3317586 commit 8fbc1f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dandi_s3_log_parser/_log_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ def find_all_known_operation_types(
position=0,
leave=True,
):
# The start of each line should be regular enough to reliably slice out just the span of the operation type
# (plus some extra bits on the end from irregularly of operation type length)
operation_types_per_file = {
raw_log_line[136:160].split(" ")[0]
raw_log_line[:180].split(" ")[7]
for buffered_text_reader in BufferedTextReader(file_path=raw_s3_log_file_path)
for raw_log_line in buffered_text_reader
}
Expand Down

0 comments on commit 8fbc1f4

Please sign in to comment.