Commit 71dfe14c authored by ext-bershanska_a's avatar ext-bershanska_a
Browse files

removed EDIT comments

parent 17aec369
......@@ -28,7 +28,7 @@ def linkDirectory(path, name=''):
if os.listdir(path):
os.system('cp -rs '+path+'/* .')
def linkFile(path, name): #EDIT: new helper function for convenience
def linkFile(path, name):
'''Make a file available in working directory with a symbolic link'''
path = os.path.join(path,name)
if not os.path.isfile(path):
......@@ -54,12 +54,12 @@ class Simulation:
# If there's already a directory remove it...
if os.path.isdir(self.dirname):
if doKeep:
print( 'KEEP existing directory {}'.format(self.dirname))
print( self.dirname)
print('KEEP existing directory {}'.format(self.dirname))
print(self.dirname)
return False
else:
if quiet == False:
print( 'REMOVE existing directory {}'.format(self.dirname))
print('REMOVE existing directory {}'.format(self.dirname))
shutil.rmtree(self.dirname)
# create directory
......@@ -112,7 +112,6 @@ class Simulation:
with open(oinpFile, 'w') as file:
file.write(filedata)
#EDIT: Link .tmpl and .dat files or OPTIMIZE
#NOTE: What's the best place to link tmpl file? $TEMPLATES, _TEMPLATEDIR_, or parisng?
if doOptimize:
flag = False
......
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