Skip to content

Commit

Permalink
fix the los file read error
Browse files Browse the repository at this point in the history
  • Loading branch information
y8z committed Oct 9, 2024
1 parent 226c382 commit 6da0bd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addie/processing/idl/generate_sumthing.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ def create_sum_inp_file_from_new_format(self, full_input_file_name):
for _row in data:
_row_split = _row.split(',')

if _row.strip()[0] == "#":
continue

if len(_row_split) == 8:
temp_range = _row_split[7].replace("K", "").split('to')
from_temp = round(float(temp_range[0]))
Expand Down

1 comment on commit 6da0bd5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitLab pipeline for addie-dev has been submitted for this commit: "https://code.ornl.gov/sns-hfir-scse/deployments/addie-deploy/-/pipelines/623689"

Please sign in to comment.