Commit 0d7b8fc8 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

debug rebuild_db

parent 9aa64cca
......@@ -418,7 +418,9 @@ def rebuild_db_from_disk(pipedir, sqlfile=None):
seg_depend_cache = {} ## store parents for each curr_dir
for curr_dir in lst_dir:
curr_dir = path.abspath(curr_dir)
s = curr_dir.split("_")[-2].split("/")[-1]
s = curr_dir.split("/")[-1]
kk = s.split("_")[-1]
s = s.replace ("_"+kk, "")
print "Creating segment %s instance (%s)."%(s, curr_dir)
R = LocalRepository([s], curr_dir)
## read curr_dir/ to get docstring
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment