Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 16, 2024
1 parent 79c9c82 commit 044c4cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/parpe/hdf5_pe_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ def _check_support(self):
ptc.INITIALIZATION_PRIOR_TYPE, ptc.INITIALIZATION_PRIOR_PARAMETERS,
ptc.OBJECTIVE_PRIOR_TYPE, ptc.OBJECTIVE_PRIOR_PARAMETERS
]:
col = parameter_df.get(col_id)
if any(col.notna()):
if (col := parameter_df.get(col_id)) and any(col.notna()):
raise NotImplementedError("Priors are not supported yet.")

def generate_file(self, hdf5_file_name: str) -> None:
Expand Down

0 comments on commit 044c4cf

Please sign in to comment.