p2api 1.1.8__tar.gz → 1.1.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {p2api-1.1.8 → p2api-1.1.9}/PKG-INFO +1 -1
- p2api-1.1.9/p2api/__about__.py +1 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/p2api.py +1 -1
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/rrm_trigger.py +1 -1
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/rrm_trigger_add_fc.py +2 -1
- p2api-1.1.8/p2api/__about__.py +0 -1
- {p2api-1.1.8 → p2api-1.1.9}/.gitignore +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/LICENSE +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/README.md +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/__init__.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/__init__.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/eso_period.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/fits_time.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/generate_finding_charts.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/p2api_utils.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/too_trigger.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/p2api/utils/tz_utc.py +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/pyproject.toml +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/setup.cfg +0 -0
- {p2api-1.1.8 → p2api-1.1.9}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: p2api
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.9
|
|
4
4
|
Summary: Binding for the ESO phase 2 programmatic API
|
|
5
5
|
Project-URL: Homepage, https://www.eso.org/copdemo/apidoc/index.html
|
|
6
6
|
Author-email: Thomas Bierwirth <thomas.bierwirth@eso.org>, John Pritchard <john.pritchard@eso.org>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.9"
|
|
@@ -1742,7 +1742,7 @@ class ApiConnection(object):
|
|
|
1742
1742
|
files=None
|
|
1743
1743
|
_calibs=[]
|
|
1744
1744
|
if len(calibrations) > 0 :
|
|
1745
|
-
_calibs=calibrations.split(',')
|
|
1745
|
+
_calibs=[int(x) for x in calibrations.split(',')]
|
|
1746
1746
|
data={
|
|
1747
1747
|
"phone": phone,
|
|
1748
1748
|
"notify": notify.split(','),
|
|
@@ -340,7 +340,7 @@ def main():
|
|
|
340
340
|
checked_runs=(options.runId or '').split(',')
|
|
341
341
|
if options.runId is None :
|
|
342
342
|
checked_runs="runs scheduled in P{cep}".format(cep=cep)
|
|
343
|
-
for run in runs :
|
|
343
|
+
for run in (runs or []) :
|
|
344
344
|
if (
|
|
345
345
|
( options.runId is None and run['scheduledPeriod'] == cep )
|
|
346
346
|
or
|
|
@@ -128,6 +128,7 @@ class get_options:
|
|
|
128
128
|
self.DEC = options.DEC
|
|
129
129
|
|
|
130
130
|
self.OBname = options.OBname
|
|
131
|
+
self.runId = options.runId
|
|
131
132
|
|
|
132
133
|
self.old_fmt_ftp_file = options.old_fmt_ftp_file
|
|
133
134
|
|
|
@@ -302,7 +303,7 @@ def main():
|
|
|
302
303
|
checked_runs=(options.runId or '').split(',')
|
|
303
304
|
if options.runId is None :
|
|
304
305
|
checked_runs="runs scheduled in P{cep}".format(cep=cep)
|
|
305
|
-
for run in runs :
|
|
306
|
+
for run in (runs or []) :
|
|
306
307
|
if (
|
|
307
308
|
( options.runId is None and run['scheduledPeriod'] == cep )
|
|
308
309
|
or
|
p2api-1.1.8/p2api/__about__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|