OpenwaterHealth / OpenLIFU-python

focused ultrasound toolbox
GNU Affero General Public License v3.0
12 stars 2 forks source link

Overwriting a volume can leave a dangling volume file in the database #136

Open ebrahimebrahim opened 1 month ago

ebrahimebrahim commented 1 month ago

When using Databse.write_volume if we choose to overwrite an existing volume but use a volume file with a different filename, then the old volume file is left there dangling. (It exists only in the filesystem but it is still there in the database directory taking up space.)