From b22fd971b344005e023a1b9878b7430820a8ce24 Mon Sep 17 00:00:00 2001 From: Eduard Friske <eduard.friske@ptb.de> Date: Mon, 6 May 2024 14:13:27 +0200 Subject: [PATCH] Tipfehler in writeLaTeX* korrigiert --- file-to-couchdb_tl1.py | 3 ++- tl.ini | 6 +++--- writeLaTeX-ks-TLA.py | 4 ++-- writeLaTex-ks-TLV.py | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/file-to-couchdb_tl1.py b/file-to-couchdb_tl1.py index 9912909..3b032c5 100644 --- a/file-to-couchdb_tl1.py +++ b/file-to-couchdb_tl1.py @@ -228,7 +228,8 @@ if QMS == "ja" : with open('QMS-Scan.txt', 'w') as f: - f.write(filetab) + f.write(filetab) + df = pd.read_csv("QMS-Scan.txt", sep="\t", #usecols=["Time"] diff --git a/tl.ini b/tl.ini index 5a0a1bd..bb2fb56 100644 --- a/tl.ini +++ b/tl.ini @@ -1,6 +1,6 @@ [path] -path_ks=C:\\Users\\becker07\\kalibrierschein\\ks- -path_files=C:\\Users\\becker07\\python\\TL1\\ +path_ks=/home/friske01/P/TLV/KS/ks- +path_files=/home/friske01/N/Abt_7/Fb75/Vakuum/Messplaetze/TL1/Messwerte/ [couch] @@ -15,4 +15,4 @@ API_KEY = Beispiel - \ No newline at end of file + diff --git a/writeLaTeX-ks-TLA.py b/writeLaTeX-ks-TLA.py index b0b61cc..6b03c3c 100644 --- a/writeLaTeX-ks-TLA.py +++ b/writeLaTeX-ks-TLA.py @@ -228,7 +228,7 @@ if (sectionDiscription_noyes!= 'yes'): else: - sectionDiscription_2= " Die von der PTB zuletzt durchgeführten Kalibrierung ist im Kalibrierschein " + last_cert + " beschrieben." + sectionDiscription_2= " Die von der PTB zuletzt durchgeführte Kalibrierung ist im Kalibrierschein " + last_cert + " beschrieben." sectionDiscription_2_en= " The previous calibration at PTB had been carried out " + last_cert_year + ' with the calibration mark ' + last_cert + " ." @@ -481,4 +481,4 @@ db.save(doc_cer) - \ No newline at end of file + diff --git a/writeLaTex-ks-TLV.py b/writeLaTex-ks-TLV.py index 67439a1..9f34a38 100644 --- a/writeLaTex-ks-TLV.py +++ b/writeLaTex-ks-TLV.py @@ -221,7 +221,7 @@ if (sectionDiscription_noyes!= 'yes'): else: - sectionDiscription_2= " Die von der PTB zuletzt durchgeführten Kalibrierung ist im Kalibrierschein " + last_cert + " beschrieben." + sectionDiscription_2= " Die von der PTB zuletzt durchgeführte Kalibrierung ist im Kalibrierschein " + last_cert + " beschrieben." sectionDiscription_2_en= " The previous calibration at PTB had been carried out " + last_cert_year + ' with the calibration mark ' + last_cert + " ." @@ -460,4 +460,4 @@ db.save(doc_cer) - \ No newline at end of file + -- GitLab