From 22381040408e47e4489ba9c1bb1f2d10e867784d Mon Sep 17 00:00:00 2001 From: Dmitry Ozerov Date: Mon, 18 May 2020 11:23:22 +0200 Subject: [PATCH] mistype --- cadump/cadump.py | 3 +-- conda-recipe/meta.yaml | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cadump/cadump.py b/cadump/cadump.py index 51a7a2b..612aa39 100644 --- a/cadump/cadump.py +++ b/cadump/cadump.py @@ -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"]: diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index b6675a1..e46d052 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,6 +1,6 @@ package: name: cadump - version: 0.0.11 + version: 0.0.12 source: path: .. diff --git a/setup.py b/setup.py index 1cd3acc..d4358df 100644 --- a/setup.py +++ b/setup.py @@ -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",