Skip to content

Commit

Permalink
Ignore leading whitespaces in some commands in time extraction script
Browse files Browse the repository at this point in the history
  • Loading branch information
af-a committed Apr 13, 2022
1 parent 15e51b6 commit b46e737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recon_surf/utils/extract_recon_surf_time_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_recon_all_stage_duration(line, previous_datetime_str):
print('[WARN] Could not find the line containing the full command for {} in line {}! Skipping...\n'.format(cmd_name[:-1], i))
continue

entry_dict['cmd'] = cmd_line
entry_dict['cmd'] = cmd_line.lstrip()
entry_dict['start'] = start_time
entry_dict['stop'] = end_time
if time_units == 's':
Expand Down

0 comments on commit b46e737

Please sign in to comment.