Skip to content

Commit

Permalink
allowing ztfin2p3 file parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelRigault committed Mar 10, 2023
1 parent 8abfda5 commit 1b1218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ztfquery/buildurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def filename_to_url(filename, suffix=None, source="irsa", kind=None, **kwargs):
path
url or local path (see source)
"""
if not os.path.basename(filename).startswith("ztf_"):
if not os.path.basename(filename).startswith("ztf"):
return filename # this is not a normal ztf_ pipeline file.

if kind is None:
Expand Down

0 comments on commit 1b1218b

Please sign in to comment.