Skip to content

Commit

Permalink
Fux format
Browse files Browse the repository at this point in the history
  • Loading branch information
alifbe committed Feb 2, 2024
1 parent 1ac3e1e commit 35f7809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/subscript/sector2fluxnum/datafile_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def set_USEFLUX_header(self, args):
lines = fin.readlines()

for idx, line in enumerate(insert_lines):
lines.insert(idx+1, line)
lines.insert(idx + 1, line)

with open(self.USEFLUX_name, "w", encoding="utf8") as fout:
fout.writelines(lines)
Expand Down
2 changes: 1 addition & 1 deletion src/subscript/sector2fluxnum/fluxfile_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def create_map_rst(
# Identify map of coarse grid to collect values to fine grid
mapping.append(min_pos_index)

if (counter+1) % 100 == 0:
if (counter + 1) % 100 == 0:
print(f"Map progress: {counter+1:d}")

return mapping
Expand Down

0 comments on commit 35f7809

Please sign in to comment.