From f2cd8159c5734414d583c3a2d0d9a19c7f1df298 Mon Sep 17 00:00:00 2001 From: m-aubert <42734008+m-aubert@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:42:26 +0100 Subject: [PATCH] Remove forced paddedfield for bias raw_path did not provide the proper path to some biases that actually have a recorded field in their filename. Remove the forced paddedfield for bias files. @MickaelRigault --- ztfquery/buildurl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ztfquery/buildurl.py b/ztfquery/buildurl.py index 493c866..0df64d6 100755 --- a/ztfquery/buildurl.py +++ b/ztfquery/buildurl.py @@ -361,9 +361,9 @@ def raw_path( """ source = _source_to_location_(source) - if imgtypecode == "b": - paddedfield = "000000" - + #if imgtypecode == "b": + # paddedfield = "000000" + filefracday = "".join([year + month + day + fracday]) file_ = ( "raw/"