petal-qc 0.0.17__py3-none-any.whl → 0.0.18__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 +1 -1
- petal_qc/metrology/convert_mitutoyo.py +5 -0
- petal_qc/metrology/do_Metrology.py +1 -1
- {petal_qc-0.0.17.dist-info → petal_qc-0.0.18.dist-info}/METADATA +2 -2
- {petal_qc-0.0.17.dist-info → petal_qc-0.0.18.dist-info}/RECORD +8 -8
- {petal_qc-0.0.17.dist-info → petal_qc-0.0.18.dist-info}/WHEEL +1 -1
- {petal_qc-0.0.17.dist-info → petal_qc-0.0.18.dist-info}/entry_points.txt +0 -0
- {petal_qc-0.0.17.dist-info → petal_qc-0.0.18.dist-info}/top_level.txt +0 -0
petal_qc/__init__.py
CHANGED
|
@@ -111,6 +111,11 @@ def mitutoyo2cvs(infiles, ofile, label='\\w+', data_type="Punto", keep=False, fi
|
|
|
111
111
|
while len(line_data) < fill:
|
|
112
112
|
line_data.append(0.0)
|
|
113
113
|
|
|
114
|
+
else:
|
|
115
|
+
if len(line_data)<3:
|
|
116
|
+
print("Warning: less than three data points: {}".format(','.join([str(v) for v in line_data])))
|
|
117
|
+
continue
|
|
118
|
+
|
|
114
119
|
slin = ','.join([str(v) for v in line_data])
|
|
115
120
|
fout.write(slin)
|
|
116
121
|
if keep:
|
|
@@ -56,7 +56,7 @@ def do_analysis(fnam, prefix, SN, options):
|
|
|
56
56
|
def analyze_files(ifile, options):
|
|
57
57
|
"""Main entry."""
|
|
58
58
|
failed_files = []
|
|
59
|
-
with open(ifile, 'r', encoding='
|
|
59
|
+
with open(ifile, 'r', encoding='ISO-8859-1') as inp:
|
|
60
60
|
|
|
61
61
|
for line in inp:
|
|
62
62
|
line = line.strip()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: petal_qc
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.18
|
|
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/PetalReceptionTests.py,sha256=cSrq4PUjdV7T16ARonhsnXWPBBRuvliTKlZwEPfgRVY,10832
|
|
2
|
-
petal_qc/__init__.py,sha256=
|
|
2
|
+
petal_qc/__init__.py,sha256=0fKeh6SADCpa5P2vbdpgv7ffPIr5pha5kqm9VmCIcaQ,1595
|
|
3
3
|
petal_qc/dashBoard.py,sha256=U_UHNMca3H2ogD4a0Vpe4ZVUKEv2-xmGZQEZ9_aH0E4,4034
|
|
4
4
|
petal_qc/getPetalCoreTestSummary.py,sha256=hTv4A8gcEkvCZLcy9ZkpwOevksz6LfK1Rb1-4ENlC7I,3706
|
|
5
5
|
petal_qc/BTreport/CheckBTtests.py,sha256=CoKTnW_7gbL42rVaBy9FnH1SEYifmgg1P5Iy253vDFk,9855
|
|
@@ -14,11 +14,11 @@ petal_qc/metrology/analyze_locking_points.py,sha256=83f8nNgmXWClQnIG1plu3YYuxNme
|
|
|
14
14
|
petal_qc/metrology/cold_noise.py,sha256=PuTaQ73WrQCJdE9ezS4UFmA3atwCuvM0ZsUOYu1ZIBw,3106
|
|
15
15
|
petal_qc/metrology/compare_Cores.py,sha256=dP0i_C_VrM4s3i0RrI2g4ZcjRmgIHlAgodhGS87YYgw,9458
|
|
16
16
|
petal_qc/metrology/comparisonTable.py,sha256=6Zmh-x0ahs28ZJQuHMrIiRcblUmTN1_-1otFSRNMPds,1743
|
|
17
|
-
petal_qc/metrology/convert_mitutoyo.py,sha256=
|
|
17
|
+
petal_qc/metrology/convert_mitutoyo.py,sha256=tpnB_fHBR8PpJeb7_q9foYKGNDRhJzxHNemmpfbSt8E,5650
|
|
18
18
|
petal_qc/metrology/convert_smartscope.py,sha256=0vAEYn7ec4qTnLfjphj1QA6tK3vZsXyF6nYYj3jE5Yc,6174
|
|
19
19
|
petal_qc/metrology/coreMetrology.py,sha256=rGzCyPqlfsnh2XUUDiykQFlRt3kkFkrQqVOhOJUNhyU,13427
|
|
20
20
|
petal_qc/metrology/data2csv.py,sha256=2ttMSmfGLPIaOqZGima2dH6sdnSRAFTHlEbSOfW5ebA,1809
|
|
21
|
-
petal_qc/metrology/do_Metrology.py,sha256=
|
|
21
|
+
petal_qc/metrology/do_Metrology.py,sha256=wA3fKJrdDLGYd0lEi8uSP9uRwQeS59nX6F4VtNnm9LM,4356
|
|
22
22
|
petal_qc/metrology/flatness4nigel.py,sha256=SUHwn6pCEUWQV_62-_9-VKrmUdL4gVQcSA3aTtYq958,4071
|
|
23
23
|
petal_qc/metrology/gtkutils.py,sha256=1pOTxiE2EZR9zNNNT5cOetga_4NG9DzLaqQPI4c1EzE,3372
|
|
24
24
|
petal_qc/metrology/petal_flatness.py,sha256=KksOFO_ZrKM4nUDHRC-3mSm1tp5C7wkE_6f9ZiH9B70,10610
|
|
@@ -72,8 +72,8 @@ petal_qc/utils/docx_utils.py,sha256=zVmSKHDVE8cUwbXxqyPtgS0z62VCFya1DWklOpO1rCQ,
|
|
|
72
72
|
petal_qc/utils/fit_utils.py,sha256=3KUGWpBMV-bVDkQHWBigXot8chOpjAVBJ5H5b5dbdjk,5349
|
|
73
73
|
petal_qc/utils/readGraphana.py,sha256=YVOztJC3q3P7F0I9Ggeiu6Mv9rZLKgj3clkLCU7k4i4,1918
|
|
74
74
|
petal_qc/utils/utils.py,sha256=CqCsNIcEg6FQb3DN70tmqeLVLlQqsRfDzhfGevlnfBc,4035
|
|
75
|
-
petal_qc-0.0.
|
|
76
|
-
petal_qc-0.0.
|
|
77
|
-
petal_qc-0.0.
|
|
78
|
-
petal_qc-0.0.
|
|
79
|
-
petal_qc-0.0.
|
|
75
|
+
petal_qc-0.0.18.dist-info/METADATA,sha256=Fk2M9jtKoCnfHGAkGiMoxgdgzzGKQOy3dsjJNDyhf4g,953
|
|
76
|
+
petal_qc-0.0.18.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
|
|
77
|
+
petal_qc-0.0.18.dist-info/entry_points.txt,sha256=YPrZOsRBRsiKNDvsnbug0-Khj7DcN_Sdpq-tB_XjykI,505
|
|
78
|
+
petal_qc-0.0.18.dist-info/top_level.txt,sha256=CCo1Xe6kLS79PruhsB6bk2CuL9VFtNdNpgJjYUs4jk4,9
|
|
79
|
+
petal_qc-0.0.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|