Skip to content

Commit

Permalink
Merge pull request #5 from Australian-Imaging-Service/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose authored Mar 21, 2024
2 parents da98156 + 1c08711 commit 55734e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xnat_ingest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def __init__(
def convert(
self, value: ty.Any, param: click.Parameter | None, ctx: click.Context | None
):
if isinstance(value, self.type):
return value
return self.type(*value)

@property
Expand Down

0 comments on commit 55734e3

Please sign in to comment.