diff --git a/imqueue/schedulers/basic_general_old.py b/imqueue/schedulers/basic_general_old.py index cfe3da3..aa1ce53 100644 --- a/imqueue/schedulers/basic_general_old.py +++ b/imqueue/schedulers/basic_general_old.py @@ -67,7 +67,7 @@ def schedule(observations: List[Dict], session: Dict, program: Dict) -> (Dict, i # iterate over all the observations for i, observation in enumerate(observations): if not observation.get('RA') or not observation.get('Dec'): - telescope.log.debug("Observation {i}") + #telescope.log.debug("Observation {i}") # if the target name is a RA/Dec string # if re.search(r'\d{1,2}:\d{2}:\d{1,2}.\d{1,2}\s[+-]\d{1,2}:\d{2}:\d{1,2}.\d{1,2}',observation.get('target')) or re.search(r'\d{1,2}:\d{2}:\d{1,2}\s[+-]\d{1,2}:\d{2}:\d{1,2}',observation.get('target')): # if (re.search(r'\d{1,2}:\d{2}:\d{1,2}.\d{1,2}\s[+-]\d{1,2}:\d{2}:\d{1,2}.\d{1,2}',observation.get('target'))) or (re.search(r'\d{1,2}:\d{2}:\d{1,2}\s[+-]\d{1,2}:\d{2}:\d{1,2}',observation.get('target'))): diff --git a/imqueue/schedulers/log_scheduler.txt b/imqueue/schedulers/log_scheduler.txt index 30769a5..06c57c6 100644 --- a/imqueue/schedulers/log_scheduler.txt +++ b/imqueue/schedulers/log_scheduler.txt @@ -1,5 +1,6 @@ -2019-04-19 12:12:57.584365 -2019-04-19 12:12:58.696838 -[datetime.datetime(2019, 4, 19, 12, 28, 10, 162544) - datetime.datetime(2019, 4, 19, 12, 28, 10, 162544) - datetime.datetime(2019, 4, 19, 12, 12, 57, 544292)] +2019-10-07 11:59:17.071968 +2019-10-07 11:59:22.064803 +[datetime.datetime(2019, 10, 7, 13, 2, 26, 822255) + datetime.datetime(2019, 10, 7, 13, 13, 51, 555950) + datetime.datetime(2019, 10, 7, 13, 13, 51, 555950) + datetime.datetime(2019, 10, 7, 12, 54, 0, 292124)]