Skip to content

Commit

Permalink
fix(sfrdata.create_mf6sfr): don't include 'None' in connectiondata fo…
Browse files Browse the repository at this point in the history
…r unconnected reaches
  • Loading branch information
aleaf committed Nov 4, 2024
1 parent e22055a commit 343f53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sfrmaker/sfrdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,8 @@ def create_mf6sfr(self, model=None, unit_conversion=None,
rno += 1
zero_based_record.append(rno)
#zero_based_record = tuple(i - 1 if i > 0 else i + 1 for i in record)
if len(zero_based_record) == 1:
zero_based_record.append(None)
#if len(zero_based_record) == 1:
# zero_based_record.append(None)
zero_based_connectiondata.append(zero_based_record)
connectiondata = zero_based_connectiondata
assert packagedata['rno'].min() == 0
Expand Down

0 comments on commit 343f53f

Please sign in to comment.