Skip to content

Commit

Permalink
check_default_filter_rules returns tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
comane committed May 12, 2024
1 parent 0af383b commit 2ff4b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validphys2/src/validphys/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,10 +674,10 @@ def check_default_filter_rules(self, theoryid, defaults=None):
th_params = theoryid.get_description()
if defaults is None:
defaults = default_filter_settings_input()
return [
return tuple(
Rule(inp, defaults=defaults, theory_parameters=th_params, loader=self)
for inp in default_filter_rules_input()
]
)

def _check_theory_old_or_new(self, theoryid, commondata, cfac):
"""Given a theory and a commondata and a theory load the right fktable
Expand Down

0 comments on commit 2ff4b15

Please sign in to comment.