Skip to content

Commit

Permalink
Merge pull request #20 from usegalaxy-eu/cat-bro-patch-1
Browse files Browse the repository at this point in the history
Fix object store path suffix check
  • Loading branch information
neoformit authored Dec 1, 2024
2 parents a9f3386 + 4f8ee87 commit 7e96021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/galaxy_jwd.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def parse_object_store(object_store_conf: pathlib.Path) -> dict:
"""
if object_store_conf.suffix == ".xml":
return parse_object_store_xml(object_store_conf)
if object_store_conf.suffix in ("yml", "yaml"):
if object_store_conf.suffix in (".yml", ".yaml"):
return parse_object_store_yaml(object_store_conf)
raise ValueError("Invalid object store configuration file extension")

Expand Down

0 comments on commit 7e96021

Please sign in to comment.