This commit is contained in:
Dmitry Ozerov
2020-05-18 11:23:22 +02:00
committed by Data Backend account
parent 87b684d06b
commit 2238104040
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -112,7 +112,6 @@ def get_data(channel_list, start=None, end=None, base_url=None):
# Check for successful return of data
if response.status_code != 200:
#raise RuntimeError("Unable to retrieve data from server: ", response)
logger.info("Data retrievali failed, sleep for another time and try")
itry = 0
@@ -161,7 +160,7 @@ def get_pulse_id_date_mapping(pulse_ids):
data = response.json()
if len(data[0]["data"]) == 0 or not "pulseID" in data[0]["data"][0]:
if len(data[0]["data"]) == 0 or not "pulseId" in data[0]["data"][0]:
raise RuntimeError("Didn't get good responce from data_api : %s " % data)
if not pulse_id == data[0]["data"][0]["pulseId"]:
+1 -1
View File
@@ -1,6 +1,6 @@
package:
name: cadump
version: 0.0.11
version: 0.0.12
source:
path: ..
+1 -1
View File
@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="cadump",
version="0.0.11",
version="0.0.12",
author="Paul Scherrer Institute",
author_email="daq@psi.ch",
description="Interface to dump data from archiver/databuffer",