Skip to content

Commit

Permalink
pass metadata/label as kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed May 17, 2024
1 parent a2da36f commit 432a5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qcodes_contrib_drivers/drivers/Horiba/Horiba_FHR.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def __init__(
)
}

super().__init__(name, additional_metadata | dict(metadata or {}), label)
super().__init__(name, metadata=additional_metadata | dict(metadata or {}), label=label)

Check warning on line 401 in src/qcodes_contrib_drivers/drivers/Horiba/Horiba_FHR.py

View check run for this annotation

Codecov / codecov/patch

src/qcodes_contrib_drivers/drivers/Horiba/Horiba_FHR.py#L401

Added line #L401 was not covered by tests

gratings = ChannelList(self, 'gratings', GratingChannel)
slits = ChannelList(self, 'slits', SlitChannel)
Expand Down

0 comments on commit 432a5d1

Please sign in to comment.