Skip to content

Commit

Permalink
fix in sanity checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwhite79 committed Oct 31, 2023
1 parent 96eda3a commit 1385574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyemu/pst/pst_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1635,8 +1635,8 @@ def sanity_checks(self, forgive=False):
if self.tied is not None and len(self.tied) > 0:
sadj = set(self.adj_par_names)
spar = set(self.par_names)

tpar_dict = self.parameter_data.partied.to_dict()
ptied = self.parameter_data.loc[self.parameter_data.loc[:,"partrans"]=="tied",:]
tpar_dict = ptied.partied.to_dict()

for tpar, ptied in tpar_dict.items():
if pd.isna(ptied):
Expand Down

0 comments on commit 1385574

Please sign in to comment.