petal-qc 0.0.7__py3-none-any.whl → 0.0.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of petal-qc might be problematic. Click here for more details.

petal_qc/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  """petal_qc python module."""
2
- __version__ = "0.0.7"
2
+ __version__ = "0.0.8"
3
3
 
4
4
 
5
5
  def coreMetrology():
@@ -33,7 +33,7 @@ class ReadGraphana(object):
33
33
 
34
34
  wnd = int(window/2.0+0.5)
35
35
  td = datetime.timedelta(minutes=wnd)
36
- t1 = the_time - td
36
+ t1 = the_time - td
37
37
  t2 = the_time + td
38
38
 
39
39
  measure="Temp"
@@ -41,14 +41,14 @@ class ReadGraphana(object):
41
41
  query = "select location,value from {measure} where (location =~ /.*{location}*/ and time>'{t1}' and time < '{t2}') group by \"location\"".format(
42
42
  measure=measure,
43
43
  location=setup,
44
- t1=t1.astimezone(datetime.UTC).isoformat(),
45
- t2=t2.astimezone(datetime.UTC).isoformat()
44
+ t1=t1.astimezone(datetime.timezone.utc).isoformat(),
45
+ t2=t2.astimezone(datetime.timezone.utc).isoformat()
46
46
  )
47
47
 
48
48
  ss = self.client.query(query)
49
49
  nitems = 0
50
50
  for s in ss:
51
-
51
+
52
52
  nitems += len(s)
53
53
 
54
54
  if nitems==0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: petal_qc
3
- Version: 0.0.7
3
+ Version: 0.0.8
4
4
  Summary: A collection of scripts for Petal CORE QC.
5
5
  Author-email: Carlos Lacasta <carlos.lacasta@cern.ch>
6
6
  Project-URL: Homepage, https://gitlab.cern.ch/atlas-itk/sw/db/itk-pdb-gtk-gui-utils
@@ -1,4 +1,4 @@
1
- petal_qc/__init__.py,sha256=ECtaEpYV5mLbxlmcTh4ahWT8wMwVyhw4LsHBLAt75BY,782
1
+ petal_qc/__init__.py,sha256=HUEgq1HUUXmVWeLvwUZstf6mrrzImvzhwRTjwScXMaE,782
2
2
  petal_qc/dashBoard.py,sha256=D2f1rB_saQYiv9mqJT9Sit44jsXviYBvc-b04CjWCa8,3389
3
3
  petal_qc/BTreport/CheckBTtests.py,sha256=W8KktZUya5qIkcOc4fNHgrtVnQfI_hPxZvbLCINDnqw,8378
4
4
  petal_qc/BTreport/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -52,10 +52,10 @@ petal_qc/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  petal_qc/utils/all_files.py,sha256=4ja_DkbTYPY3gUPBAZq0p7KB9lnXZx-OCnpTHg9tm4I,1044
53
53
  petal_qc/utils/docx_utils.py,sha256=Eye16PF8W0mPBVdQvgFKWxPYV7-hzBgANPDZtUEjzf8,5805
54
54
  petal_qc/utils/fit_utils.py,sha256=3KUGWpBMV-bVDkQHWBigXot8chOpjAVBJ5H5b5dbdjk,5349
55
- petal_qc/utils/readGraphana.py,sha256=Ljr3PSkkTw-A8SRfMa77n7RO7ogLewwDy9dkflzKh2M,1869
55
+ petal_qc/utils/readGraphana.py,sha256=7EqcjtIWdtV6nyVmlKDHC74Id4a-E3M7j7XSpCyBlSQ,1874
56
56
  petal_qc/utils/utils.py,sha256=CqCsNIcEg6FQb3DN70tmqeLVLlQqsRfDzhfGevlnfBc,4035
57
- petal_qc-0.0.7.dist-info/METADATA,sha256=T0J3-GyiU8lX-JOLNlcKBOFoms8EuK-fd7GgxQ5Uzes,943
58
- petal_qc-0.0.7.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
59
- petal_qc-0.0.7.dist-info/entry_points.txt,sha256=D1vXewVYzKMi3qN-SFm2ttq20GLVsxAScU8a3t24Cr0,201
60
- petal_qc-0.0.7.dist-info/top_level.txt,sha256=CCo1Xe6kLS79PruhsB6bk2CuL9VFtNdNpgJjYUs4jk4,9
61
- petal_qc-0.0.7.dist-info/RECORD,,
57
+ petal_qc-0.0.8.dist-info/METADATA,sha256=qS6KpUAjCA3yF2twM8h4MsKUYxUmyHi2VWR9KHKeYqU,943
58
+ petal_qc-0.0.8.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
59
+ petal_qc-0.0.8.dist-info/entry_points.txt,sha256=D1vXewVYzKMi3qN-SFm2ttq20GLVsxAScU8a3t24Cr0,201
60
+ petal_qc-0.0.8.dist-info/top_level.txt,sha256=CCo1Xe6kLS79PruhsB6bk2CuL9VFtNdNpgJjYUs4jk4,9
61
+ petal_qc-0.0.8.dist-info/RECORD,,