|
|
@ -285,7 +285,12 @@ class FileWatch(Analysis):
|
|
|
|
if os.path.exists(folder):
|
|
|
|
if os.path.exists(folder):
|
|
|
|
xo_raw = self.evaluate(folder)
|
|
|
|
xo_raw = self.evaluate(folder)
|
|
|
|
xo = np.array(ML.Extract(['size','age'],xo_raw))
|
|
|
|
xo = np.array(ML.Extract(['size','age'],xo_raw))
|
|
|
|
|
|
|
|
if len(xo) == 0:
|
|
|
|
|
|
|
|
continue
|
|
|
|
name = re.findall("([a-z,A-Z,0-9]+$)",folder)
|
|
|
|
name = re.findall("([a-z,A-Z,0-9]+$)",folder)
|
|
|
|
|
|
|
|
if len(name) == 0:
|
|
|
|
|
|
|
|
name = [folder]
|
|
|
|
|
|
|
|
|
|
|
|
name = name[0]
|
|
|
|
name = name[0]
|
|
|
|
size = round(np.sum(xo[:,0]),2)
|
|
|
|
size = round(np.sum(xo[:,0]),2)
|
|
|
|
if size > 1000 :
|
|
|
|
if size > 1000 :
|
|
|
|