diff COBRAxy/marea.py @ 145:0f5564819296 draft

Uploaded
author luca_milaz
date Tue, 05 Nov 2024 21:48:04 +0000
parents a9a490ae198d
children 88cf4543e210
line wrap: on
line diff
--- a/COBRAxy/marea.py	Tue Nov 05 21:45:24 2024 +0000
+++ b/COBRAxy/marea.py	Tue Nov 05 21:48:04 2024 +0000
@@ -819,7 +819,7 @@
         convert_to_pdf(svgFilePath, pngPath, pdfPath)
 
     if not ARGS.generate_svg:
-        os.remove(svgFilePath)
+        os.remove(svgFilePath.show())
 
 ClassPat = Dict[str, List[List[float]]]
 def getClassesAndIdsFromDatasets(datasetsPaths :List[str], datasetPath :str, classPath :str, names :List[str]) -> Tuple[List[str], ClassPat]: