Commit e27ede60 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

bug code list

parent d7c46042
......@@ -473,7 +473,8 @@ class TreeView:
datlist.append(filename)
except IndexError:
datlist.append(filename)
codelist=glob(os.path.join(directory,"../../*.*"))
codedir = directory.split("data")[0]
codelist=glob(codedir+"*.*")
biglist = [sorted(loglist), sorted(datlist), sorted(imglist), sorted(codelist)]
name = ['LOGS', 'DATA', 'FIGURES', 'CODE']
for L in biglist:
......
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