Skip to content

Commit

Permalink
part 2 of the mmol fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarco-terrones committed Jan 19, 2024
1 parent 506ce3e commit 8f75228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ def aif_to_txt(content):
units_pressure = None
for line in content:
if "_units_pressure" in line:
units_pressure = line.split() # split on spaces
line_modified = line.replace("'", "") # Removing all single quotation marks
units_pressure = line_modified.split() # split on spaces
units_pressure = units_pressure[1]

if units_pressure is None: # This means there is a problem.
Expand Down

0 comments on commit 8f75228

Please sign in to comment.