Skip to content

Commit

Permalink
typo in list comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
coxipi committed Jul 31, 2024
1 parent 1fdf371 commit ed49891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xsdba/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def merge_attributes(
str
The new attribute made from the combination of the ones from all the inputs.
"""
inputs = [getattr(in_ds, "name", None) for in_ds in inputs_list]
inputs = [(getattr(in_ds, "name", None), in_ds) for in_ds in inputs_list]
inputs += list(inputs_kws.items())

merged_attr = ""
Expand Down

0 comments on commit ed49891

Please sign in to comment.