From 177b86d304a29867497e9a1556dd1839c78a83d0 Mon Sep 17 00:00:00 2001 From: lopa <pardini@physik.hu-berlin.de> Date: Thu, 12 Apr 2018 16:56:25 +0200 Subject: [PATCH] ... --- parser/parser-elastic/parser_elastic.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parser/parser-elastic/parser_elastic.py b/parser/parser-elastic/parser_elastic.py index 5c456cd..552cfbd 100644 --- a/parser/parser-elastic/parser_elastic.py +++ b/parser/parser-elastic/parser_elastic.py @@ -327,7 +327,9 @@ class SampleContext(object): # my_file = Path("Energy-vs-Strain") # print("ooooo",my_file.exists()) # print("oooooooo ", os.listdir()) - if 'Energy-vs-Strain' in os.listdir(): + prova = os.listdir() +# print("prova= ",prova) + if 'Energy-vs-Strain' in prova: # if my_file.is_dir(): # print("esiste! :-)") # else: -- GitLab