Skip to content

Commit

Permalink
style: improve format of err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
candleindark committed Feb 5, 2025
1 parent ef21116 commit 1c5e18d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dandischema/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,9 @@ def migrate(
if instance_ver not in ALLOWED_INPUT_SCHEMAS:
msg = (
f"The DANDI schema version of the provided Dandiset metadata instance, "
f"{instance_ver!r}, is not one of the supported versions for input Dandiset"
f" metadata instances. The supported versions are {ALLOWED_INPUT_SCHEMAS}."
f"{instance_ver!r}, is not one of the supported versions for input "
f"Dandiset metadata instances. The supported versions are "
f"{ALLOWED_INPUT_SCHEMAS}."
)
raise ValueError(msg)
# ----------------------------------------------------------------
Expand Down

0 comments on commit 1c5e18d

Please sign in to comment.