Skip to content

Commit

Permalink
fix: rules should not be callable
Browse files Browse the repository at this point in the history
  • Loading branch information
pgierz committed Jan 10, 2025
1 parent 86718c7 commit 337b04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymorize/cmorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _post_init_populate_rules_with_data_request_variables(self):

def _post_init_populate_rules_with_aux_files(self):
"""Attaches auxiliary files to the rules"""
for rule in self.rules():
for rule in self.rules:
attach_files_to_rule(rule)

def _post_init_populate_rules_with_dimensionless_unit_mappings(self):
Expand Down

0 comments on commit 337b04a

Please sign in to comment.