From c7991832e28d94abd47dcc438572b5798d7c9a07 Mon Sep 17 00:00:00 2001 From: JupyterHub User <1myhisij@jupyter.rwth-aachen.de> Date: Mon, 18 Sep 2023 09:56:02 +0000 Subject: [PATCH] part2 --- hp4155/measurements.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hp4155/measurements.py b/hp4155/measurements.py index a91eb91..606723c 100644 --- a/hp4155/measurements.py +++ b/hp4155/measurements.py @@ -392,7 +392,7 @@ def tlm_final(innen=0,distances=(5,10,15,25,45),field_name ='M00',start=-50*10** if(innen==0): #specify path and file_name file_name = field_name+"_TLM_"+str(j+1)+".txt" - location =r"\\fileserver.cst.rwth-aachen.de\public\Datentransfer\Asonitis, Alexandros" + location =r"\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\results" path= os.path.join(location,file_name) #check if file name exists @@ -404,7 +404,7 @@ def tlm_final(innen=0,distances=(5,10,15,25,45),field_name ='M00',start=-50*10** else: #specify path and file_name file_name = field_name+"_CTLM_"+str(j+1)+".txt" - location =r"\\fileserver.cst.rwth-aachen.de\public\Datentransfer\Asonitis, Alexandros" + location =r"\\FILESERVER\public\Datentransfer\Asonitis, Alexandros\results" path= os.path.join(location,file_name) #check if file name exists @@ -414,7 +414,7 @@ def tlm_final(innen=0,distances=(5,10,15,25,45),field_name ='M00',start=-50*10** path= os.path.join(location,file_name) i=i+1 - title = "measured field:"+field_name+"\ndistance:"+str(distances[j])+"\nI:"+str(start)+"A to "+str(stop)+"A with step:"+str(step)+"\nDate:"+date+"\n" + title = "measured field:"+field_name+"\nInnen radius:"+str(innen)+"µm \ndistance:"+str(distances[j])+"µm\nI:"+str(start)+"A to "+str(stop)+"A with step:"+str(step)+"\nDate:"+date+"\n" f=open(path, 'a') f.write(title) -- GitLab