petal-qc 0.0.7__tar.gz → 0.0.9__tar.gz

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.

Files changed (66) hide show
  1. {petal_qc-0.0.7 → petal_qc-0.0.9}/PKG-INFO +1 -1
  2. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/__init__.py +1 -1
  3. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/PetalMetrology.py +2 -2
  4. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/readGraphana.py +4 -4
  5. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc.egg-info/PKG-INFO +1 -1
  6. {petal_qc-0.0.7 → petal_qc-0.0.9}/pyproject.toml +1 -1
  7. {petal_qc-0.0.7 → petal_qc-0.0.9}/README.md +0 -0
  8. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/BTreport/CheckBTtests.py +0 -0
  9. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/BTreport/__init__.py +0 -0
  10. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/BTreport/bustapeReport.py +0 -0
  11. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/dashBoard.py +0 -0
  12. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/Cluster.py +0 -0
  13. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/DataFile.py +0 -0
  14. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/__init__.py +0 -0
  15. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/all2csv.py +0 -0
  16. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/analyze_locking_points.py +0 -0
  17. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/cold_noise.py +0 -0
  18. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/compare_Cores.py +0 -0
  19. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/comparisonTable.py +0 -0
  20. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/convert_mitutoyo.py +0 -0
  21. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/convert_smartscope.py +0 -0
  22. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/coreMetrology.py +0 -0
  23. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/data2csv.py +0 -0
  24. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/do_Metrology.py +0 -0
  25. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/flatness4nigel.py +0 -0
  26. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/gtkutils.py +0 -0
  27. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/petal_flatness.py +0 -0
  28. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/show_data_file.py +0 -0
  29. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/testSummary.py +0 -0
  30. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/metrology/test_paralelism.py +0 -0
  31. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/test/prepareDESYfiles.py +0 -0
  32. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/test/test_Graphana.py +0 -0
  33. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/test/test_coreThermal.py +0 -0
  34. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/CSVImage.py +0 -0
  35. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/DebugPlot.py +0 -0
  36. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/IRBFile.py +0 -0
  37. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/IRCore.py +0 -0
  38. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/IRDataGetter.py +0 -0
  39. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/IRPetal.py +0 -0
  40. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/IRPetalParam.py +0 -0
  41. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/PetalColorMaps.py +0 -0
  42. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/Petal_IR_Analysis.py +0 -0
  43. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/PipeFit.py +0 -0
  44. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/__init__.py +0 -0
  45. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/analyze_IRCore.py +0 -0
  46. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/contours.py +0 -0
  47. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/coreThermal.py +0 -0
  48. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/create_IRCore.py +0 -0
  49. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/create_core_report.py +0 -0
  50. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/pipe_back.npz +0 -0
  51. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/pipe_front.npz +0 -0
  52. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/pipe_read.py +0 -0
  53. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/thermal/show_IR_petal.py +0 -0
  54. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/Geometry.py +0 -0
  55. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/Progress.py +0 -0
  56. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/__init__.py +0 -0
  57. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/all_files.py +0 -0
  58. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/docx_utils.py +0 -0
  59. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/fit_utils.py +0 -0
  60. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc/utils/utils.py +0 -0
  61. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc.egg-info/SOURCES.txt +0 -0
  62. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc.egg-info/dependency_links.txt +0 -0
  63. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc.egg-info/entry_points.txt +0 -0
  64. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc.egg-info/requires.txt +0 -0
  65. {petal_qc-0.0.7 → petal_qc-0.0.9}/petal_qc.egg-info/top_level.txt +0 -0
  66. {petal_qc-0.0.7 → petal_qc-0.0.9}/setup.cfg +0 -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.9
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,5 +1,5 @@
1
1
  """petal_qc python module."""
2
- __version__ = "0.0.7"
2
+ __version__ = "0.0.9"
3
3
 
4
4
 
5
5
  def coreMetrology():
@@ -255,7 +255,7 @@ def petal_metrology(ifile, options):
255
255
  if not check_spec(delta, 0.050):
256
256
  dbOut["defects"].append({
257
257
  "name": key,
258
- "description": "Delta {} is {:.3f} mm > 0.025 mm.".format(k, delta)
258
+ "description": "Delta {} is {:.3f} mm > 0.050 mm.".format(k, delta)
259
259
  })
260
260
 
261
261
  elif "CHECK_" in key:
@@ -263,7 +263,7 @@ def petal_metrology(ifile, options):
263
263
  if not check_spec(abs(val), 0.050):
264
264
  dbOut["defects"].append({
265
265
  "name": key,
266
- "description": "LOC DIAM delta is {:.3f} mm > 0.025 mm.".format(abs(val))
266
+ "description": "LOC DIAM delta is {:.3f} mm > 0.050 mm.".format(abs(val))
267
267
  })
268
268
  else:
269
269
  if val < 0 or val > 0.012:
@@ -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.9
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "petal_qc"
7
- version = "0.0.7"
7
+ version = "0.0.9"
8
8
  authors = [
9
9
  { name="Carlos Lacasta", email="carlos.lacasta@cern.ch" },
10
10
  ]
File without changes
File without changes
File without changes