about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--domagi/domagi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/domagi/domagi.py b/domagi/domagi.py
index 5174264..c369b38 100644
--- a/domagi/domagi.py
+++ b/domagi/domagi.py
@@ -288,6 +288,7 @@ def extract(con, outfile, segment_name, path_range, steps, threads, progress):
 
     DROP TABLE path_first_start;
     DROP TABLE selected_segment;
+    DETACH subset_db;
     """)
 
 @main.command(short_help="Write graph in sparse matrix format")