Skip to content
Snippets Groups Projects
Commit 6393673a authored by BRONES Romain's avatar BRONES Romain
Browse files

fix(infoattr): Quickfix for infoattr on TTS

* Assume scalar (not spectrum) and not bool
parent 55f9f5a2
Branches
Tags
No related merge requests found
......@@ -264,6 +264,12 @@ def infoattr(attribute, db='H'):
if not db in ("H", "T"):
raise AttributeError("Attribute db should be 'H' or 'T'")
# Quick fix for TTS, assume scalar not bool
if db=="T":
logger.warning("Quick fix for TTS, attribute information not accessible, assume scalar, not spectrum, not bool")
info = {"max_dim_x":1, "data_type":5, "warning":"quickfix"}
return info
info = dict()
for func in ("GetAttDefinitionData", "GetAttPropertiesData"):
......
......@@ -18,7 +18,7 @@ Quick usage in ipython shell:
"""
# NB: Also change version number in setup.py
__version__ = "2.4.2"
__version__ = "2.4.3"
__all__ = ["Access", ]
......
......@@ -3,7 +3,7 @@
from distutils.core import setup
setup(name='ArchiveExtractor',
version='2.4.2', # NB Also change version number in __init__.py
version='2.4.3', # NB Also change version number in __init__.py
description='Python module for extracting data from Archive Extractor Tango Device.',
url='https://gitlab.synchrotron-soleil.fr/dg/archiveextractor',
license="GNU-GPL-v3",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment