Skip to content

Commit

Permalink
Fix upstream test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed Dec 20, 2024
1 parent 97187d2 commit 69122ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virtualizarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def open_virtual_dataset(
if backend and filetype:
raise ValueError("Cannot pass both a filetype and an explicit VirtualBackend")

if filetype is not None:
# if filetype is user defined, convert to FileType
if isinstance(filetype, str):
# if filetype is a user defined string, convert to FileType
filetype = FileType(filetype.lower())
else:
filetype = automatically_determine_filetype(
Expand Down

0 comments on commit 69122ce

Please sign in to comment.