JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
821 stars 94 forks source link

Force deletion of the temporary figure path to address Issue #440 #461

Closed NicholasWMRitchie closed 2 years ago

NicholasWMRitchie commented 2 years ago

The temporary fig_path is not being deleted when Julia exits because the path contains files. This simply forces the removal of the directory and all contents whenever the figpath starts with "jl" as they are when created with mktempdir().

NicholasWMRitchie commented 2 years ago

Need to check whether isnothing(fig_path)