Commit 225b7979 authored by eric pellegrini's avatar eric pellegrini

Added the macros_directory function that returns the place where the MDANSE...

Added the macros_directory function that returns the place where the MDANSE macros has to be searched
parent e1365592
......@@ -307,11 +307,23 @@ class Platform(object):
return os.path.dirname(os.path.dirname(__file__))
def macros_directory(self):
'''
Returns the path of the directory where the MDANSE macros will be searched.
:return: the path of the directory where the MDANSE macros will be searched.
:rtype: str
'''
macrosDir = os.path.join(self.application_directory(),'macros')
return macrosDir
def logfiles_directory(self):
'''
Returns the path of the directory where the MDANSE job logfiles are stored.
:return: the path of the directory where the MDANSE job logfiles are stored..
:return: the path of the directory where the MDANSE job logfiles are stored.
:rtype: str
'''
......@@ -496,7 +508,7 @@ class PlatformWin(Platform):
os.makedirs(basedir)
return basedir
def get_process_creation_time(self, process):
'''
Return the creation time of a given process.
......
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