Skip to content

Commit

Permalink
Update script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OliviaButters authored Jul 22, 2024
1 parent f74d7a4 commit a12c9b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@
# Move the amended parameter file to the outputs folder
if len(parameter_file) == 1 :

# Print all of the input parameters to an excel sheet to be read in later
with open(os.path.join(parameter_file[0]), 'a') as f:
f.write('PERMEABLE_AREAS,%s\n' %permeable_areas)

file_path = os.path.splitext(parameter_file[0])
print('Filepath:',file_path)
filename=file_path[0].split("/")
Expand All @@ -134,3 +130,7 @@
dst = os.path.join(parameter_outputs_path,filename[-1] + '.csv')
print('dst,dst')
shutil.copy(src,dst)

# Print all of the input parameters to an excel sheet to be read in later
with open(os.path.join(dst), 'a') as f:
f.write('PERMEABLE_AREAS,%s\n' %permeable_areas)

0 comments on commit a12c9b7

Please sign in to comment.