Commit 7c86d660 authored by lejeune's avatar lejeune
Browse files

patch code dir

parent 3ef6e85f
......@@ -473,7 +473,8 @@ class TreeView:
datlist.append(filename)
except IndexError:
datlist.append(filename)
codedir = directory.split("data")[0]
kk = directory.split("data")[-1]
codedir = directory.replace ("data"+kk, "")
codelist=glob(codedir+"*.*")
biglist = [sorted(loglist), sorted(datlist), sorted(imglist), sorted(codelist)]
name = ['LOGS', 'DATA', 'FIGURES', 'CODE']
......
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