Skip to content

Commit

Permalink
fixBug storing correct package names for CellBudgetFile
Browse files Browse the repository at this point in the history
the package name is stored as `paknam2`. `paknam` store the model  name.
  • Loading branch information
ougx authored Dec 21, 2023
1 parent 02a2f91 commit 75be7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flopy/utils/binaryfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,8 @@ def _build_index(self):
raise BudgetIndexError("Improper precision")
self.textlist.append(header["text"])
self.imethlist.append(header["imeth"])
if header["paknam"] not in self.paknamlist:
self.paknamlist.append(header["paknam"])
if header["paknam2"] not in self.paknamlist:
self.paknamlist.append(header["paknam2"])
ipos = self.file.tell()

if self.verbose:
Expand Down

0 comments on commit 75be7f4

Please sign in to comment.