Commit 3bfbe52b authored by Pardini, Lorenzo (lopa)'s avatar Pardini, Lorenzo (lopa)
Browse files

removed a "print"

parent 8d6b2d16
...@@ -56,8 +56,10 @@ class ExcitingParserContext(object): ...@@ -56,8 +56,10 @@ class ExcitingParserContext(object):
def onOpen_section_method(self, backend, gIndex, section): def onOpen_section_method(self, backend, gIndex, section):
self.secMethodIndex = gIndex self.secMethodIndex = gIndex
# gwFile = os.path.join(dirPath,None)
mainFile = self.parser.fIn.fIn.name mainFile = self.parser.fIn.fIn.name
dirPath = os.path.dirname(self.parser.fIn.name) dirPath = os.path.dirname(self.parser.fIn.name)
# gwFile = os.path.join(dirPath,"GW_INFO.OUT")
# gwFile = os.path.join(dirPath, "GW_INFO.OUT") # gwFile = os.path.join(dirPath, "GW_INFO.OUT")
### ###
if os.access(os.path.join(dirPath, "GW_INFO.OUT"), os.F_OK): if os.access(os.path.join(dirPath, "GW_INFO.OUT"), os.F_OK):
...@@ -65,7 +67,7 @@ class ExcitingParserContext(object): ...@@ -65,7 +67,7 @@ class ExcitingParserContext(object):
elif os.access(os.path.join(dirPath, "GWINFO.OUT"), os.F_OK): elif os.access(os.path.join(dirPath, "GWINFO.OUT"), os.F_OK):
gwFile = os.path.join(dirPath, "GWINFO.OUT") gwFile = os.path.join(dirPath, "GWINFO.OUT")
else: else:
pass gwFile = os.path.join(dirPath,"GW_INFO.OUT")
### ###
if os.path.exists(gwFile): if os.path.exists(gwFile):
subSuperContext = exciting_parser_gw.GWContext() subSuperContext = exciting_parser_gw.GWContext()
......
Supports Markdown
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