Skip to content

Commit

Permalink
make final change
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed May 30, 2024
1 parent 4889135 commit 844fbae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/biocommons/seqrepo/_internal/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ def translate_api2db(namespace: str, alias: Optional[str]) -> list[tuple[str, Op
return [
("VMC", "GS_" + alias if alias else None),
]
if namespace == "ga4gh" and alias is not None:
if namespace == "ga4gh":
return [
("VMC", "GS_" + alias[3:]),
("VMC", "GS_" + alias[3:] if alias else None),
]
return []

Expand Down

0 comments on commit 844fbae

Please sign in to comment.