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

[ArchiveExtractor] Nettoie l'affichage de la version

* On utilise une variable str
* Affichage dans l'aide et dans le log
parent a31922db
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ import datetime
import numpy as np
import PyTango as tango
__version__ = 1.0
__version__ = "1.0.1"
##########################################################################
......@@ -78,7 +78,6 @@ def query_ADB_BetweenDates(attr,
"""
Query attribute data from an archiver database, get all points between dates.
Use ExtractBetweenDates.
Warning : if the time interval gives a huge set of data, it can stall.
Parameters
----------
......@@ -263,7 +262,7 @@ if __name__ == "__main__":
# Install argument parser
import argparse
parser = argparse.ArgumentParser(description="Extract attributes from the extractor devices.")
parser = argparse.ArgumentParser(description="Extract attributes from the extractor devices.\nVersion %s"%__version__)
parser.add_argument("--from", type=dateparse, dest="dateStart",
help="Start date for extraction, format '1990-12-13-22:33:45'. "+
......@@ -314,6 +313,8 @@ if __name__ == "__main__":
logger.debug("Parsed arguments: %s"%args)
logger.info("Archive Extractor %s"%__version__)
#######################################################
# Filemode or not
if args.filemode:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment