Skip to content

Commit

Permalink
Ignore non-null DRS URIs in file descriptors (#5824, #3631)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-ucsc committed Jan 2, 2024
1 parent ffcb11d commit 58556e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/azul/plugins/repository/tdr_hca/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ def _parse_drs_uri(self,
else:
# FIXME: Support non-null DRS URIs in file descriptors
# https://github.com/DataBiosphere/azul/issues/3631
require(external_drs_uri is None,
'Non-null `drs_uri` in file descriptor', external_drs_uri)
if external_drs_uri is not None:
log.warning('Non-null `drs_uri` in file descriptor (%s)', external_drs_uri)
external_drs_uri = None
return external_drs_uri
else:
return file_id
Expand Down

0 comments on commit 58556e0

Please sign in to comment.