diff --git a/nuztf/base_scanner.py b/nuztf/base_scanner.py index 4ebf13e5..93bc96b8 100644 --- a/nuztf/base_scanner.py +++ b/nuztf/base_scanner.py @@ -340,6 +340,7 @@ def parse_candidates(self): old_flag = "" second_det = [x for x in jds if x > min(jds) + 0.01] + if len(second_det) > 0: if Time.now().jd - second_det[0] > 1.0: old_flag = "(MORE THAN ONE DAY SINCE SECOND DETECTION)" diff --git a/setup.py b/setup.py index 8e9faeed..50fc6f85 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="nuztf", - version="2.3.0", + version="2.4.0", author="Robert Stein, Simeon Reusch, Jannis Necker", author_email="robert.stein@desy.de, simeon.reusch@desy.de, jannis.necker@desy.de", description="Package for multi-messenger correlation searches with ZTF",