Skip to content

Commit

Permalink
mergin
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelRigault committed Jul 31, 2024
1 parent 4db7079 commit 4fbe441
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ztfquery"
version = "1.27.1"
version = "1.27.4"
description = "Python package to access ZTF data"
authors = ["Mickael Rigault <[email protected]>", "Simeon Reusch <[email protected]>"]
maintainers = ["Mickael Rigault <[email protected]>", "Simeon Reusch <[email protected]>"]
Expand Down Expand Up @@ -39,4 +39,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88
line-length = 88



2 changes: 1 addition & 1 deletion ztfquery/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.27.1"
__version__ = "1.27.4"

from .io import get_file
from .query import ZTFQuery, get_metadata
Expand Down
4 changes: 2 additions & 2 deletions ztfquery/buildurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def parse_scifilename(filename):
""" """
from .fields import ccdid_qid_to_rcid

_, filefracday, paddedfield, filtercode, ccd_, imgtypecode, qid_, suffix_ = \
_, filefracday, paddedfield, filtercode, ccd_, imgtypecode, qid_, *suffix_ = \
os.path.basename( filename ).split("_")
year, month, day, fracday = filefrac_to_year_monthday_fracday(filefracday)

Expand All @@ -197,7 +197,7 @@ def parse_scifilename(filename):
"filtercode": filtercode,
"filterid": FILTERS.get(filtercode, None),
"kind": "sci",
"suffix": "_".join(suffix_),
"suffix": "_".join(np.atleast_1d(suffix_))
}


Expand Down

0 comments on commit 4fbe441

Please sign in to comment.