Skip to content

Commit

Permalink
Cleanup VarCompatObj creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Oct 23, 2023
1 parent b603972 commit 8d8589e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions scripts/suite_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,20 +857,7 @@ def match_variable(self, var, run_env):
match = True
# Create compatability object, containing any necessary forward/reverse
# transforms from <var> and <dict_var>
compat_obj = VarCompatObj(
vstdname,
var.get_prop_value('type'),
var.get_prop_value('kind'),
var.get_prop_value('units'),
var.get_dimensions(),
var.get_prop_value('local_name'),
dict_var.get_prop_value('standard_name'),
dict_var.get_prop_value('type'),
dict_var.get_prop_value('kind'),
dict_var.get_prop_value('units'),
dict_var.get_dimensions(),
dict_var.get_prop_value('local_name'),
run_env)
compat_obj = var.compatible(dict_var, run_env)

# end if
# Add the variable to the parent call tree
Expand Down

0 comments on commit 8d8589e

Please sign in to comment.