Skip to content

Commit

Permalink
Fixes before the v2024.10 release
Browse files Browse the repository at this point in the history
  • Loading branch information
daavid00 committed Nov 27, 2024
1 parent 7067bde commit 91a6723
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pycopm/utils/generate_coarser_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ def handle_nnc_trans(dic):
nrwo = str(row)[2:-2].strip()
nncdeck.append(nrwo)
if nrwo == "EDIT":
nncdeck.append(nrwo)
nncdeck.append("INCLUDE")
nncdeck.append(f"'{dic['label']}EDITNNC.INC' /\n")
with open(
Expand Down Expand Up @@ -386,8 +385,8 @@ def handle_nnc_trans(dic):
for n, (n1, n2) in enumerate(zip(cnnc1, cnnc2)):
ijk1 = coag.get_ijk(global_index=n1 - 1)
ijk2 = coag.get_ijk(global_index=n2 - 1)
fip1 = dic["kc"][ijk1[2] + 1]
fip2 = dic["kc"][ijk2[2] + 1]
fip1 = ijk1[2] + 1
fip2 = ijk2[2] + 1
rtran = 0
found = 0
indel = []
Expand Down

0 comments on commit 91a6723

Please sign in to comment.