Skip to content
Snippets Groups Projects

Draft: Merge version0.1 changes into dev

Closed Hock, Martin requested to merge version0.1 into dev
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -92,7 +92,9 @@ def publish(src_datapath, dst_path, figure, plot_name, data_storage):
# Copy script that calls this function to folder
shutil.copy2(sys.argv[0], dst_path_invisible)
# Copy plot file to folder
shutil.move(plot_path, dst_path_invisible)
if os.path.isfile(plot_path):
shutil.copy2(plot_path, dst_path_invisible)
os.remove(plot_path)
case _:
raise ValueError('The data storage method {data_storage} '
'is not available.')
Loading