Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ArchiveExtractor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DG
ArchiveExtractor
Commits
d188d340
Commit
d188d340
authored
5 months ago
by
BRONES Romain
Browse files
Options
Downloads
Patches
Plain Diff
fix retreiving of read;write tuple
* This is the new way the TTS returns read write values
parent
6393673a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ArchiveExtractor/Core.py
+5
-0
5 additions, 0 deletions
ArchiveExtractor/Core.py
ArchiveExtractor/__init__.py
+1
-1
1 addition, 1 deletion
ArchiveExtractor/__init__.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
7 additions
and
2 deletions
ArchiveExtractor/Core.py
+
5
−
0
View file @
d188d340
...
...
@@ -103,6 +103,11 @@ def _extract_scalar(attribute, method, date1, date2, db, dtype):
return
None
# Detect if values contains a tuple read;write
if
'
;
'
in
_value
[
0
]:
logger
.
warning
(
"
Retrieved values are in read;write format. Keep only the read value
"
)
_value
=
[
_v
.
split
(
'
;
'
)[
0
]
for
_v
in
_value
]
# Transform to datetime - value arrays
if
dtype
is
bool
:
_value
=
aea
.
_cast_bool
(
_value
)
...
...
This diff is collapsed.
Click to expand it.
ArchiveExtractor/__init__.py
+
1
−
1
View file @
d188d340
...
...
@@ -18,7 +18,7 @@ Quick usage in ipython shell:
"""
# NB: Also change version number in setup.py
__version__
=
"
2.4.
3
"
__version__
=
"
2.4.
4
"
__all__
=
[
"
Access
"
,
]
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
d188d340
...
...
@@ -3,7 +3,7 @@
from
distutils.core
import
setup
setup
(
name
=
'
ArchiveExtractor
'
,
version
=
'
2.4.
3
'
,
# NB Also change version number in __init__.py
version
=
'
2.4.
4
'
,
# 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
"
,
...
...
This diff is collapsed.
Click to expand it.
BRONES Romain
@broucquart
mentioned in issue
#7 (closed)
·
5 months ago
mentioned in issue
#7 (closed)
mentioned in issue #7
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment