Skip to content

Commit 7745423

Browse files
committed
Update lum_tools.py
1 parent 8435c13 commit 7745423

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

gds_fdtd/lum_tools.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,16 @@ def Update_halfring_CML(device,CML,sparam_file,gap,rad,width,thickness,CoupleLen
298298
destination = os.path.join(path_halfring, filename)
299299
print(destination)
300300

301+
'''
301302
# Get the source data file
302303
dir_path = os.path.dirname(os.path.realpath(__file__))
303304
print(dir_path)
304305
source = os.path.join(dir_path, sparam_file)
306+
'''
305307

306308
# copy the file
307-
shutil.copyfile(source, destination)
309+
print(f'Source: {sparam_file}, Destination: {destination}')
310+
shutil.copyfile(sparam_file, destination)
308311
return
309312

310313

0 commit comments

Comments
 (0)