Skip to content

Commit

Permalink
Merge pull request #190 from SNEWS2/JostMigenda/Garching_NU_X_BAR
Browse files Browse the repository at this point in the history
Fix flavour check for `PinchedModel`
  • Loading branch information
Sheshuk authored Jul 4, 2022
2 parents 22e861a + 7bd1125 commit b3579dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/snewpy/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def __init__(self, simtab, metadata):
metadata: dict
Model parameters dict
"""
if not 'L_NU_X_BAR' in simtab:
if not 'L_NU_X_BAR' in simtab.colnames:
# table only contains NU_E, NU_E_BAR, and NU_X, so double up
# the use of NU_X for NU_X_BAR.
for val in ['L','E','ALPHA']:
Expand Down

0 comments on commit b3579dd

Please sign in to comment.