We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f056c commit 176eac0Copy full SHA for 176eac0
dandi/dandiset.py
@@ -141,7 +141,7 @@ def _get_identifier(metadata: dict) -> str | None:
141
assert isinstance(id_, str)
142
# result of https://github.com/dandi/dandi-cli/pull/348 which ???
143
# TODO: RF to avoid this evil!!!
144
- id_ = id_.split(":")[-1]
+ id_ = id_.split(":", maxsplit=1)[-1]
145
146
assert id_ is None or isinstance(id_, str)
147
return id_
0 commit comments