Skip to content

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
squoilin committed Dec 29, 2017
1 parent ab3ad82 commit efcdfdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DispaSET/misc/gms_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ def solve_high_level(gams_folder,sim_folder,output_lst=False):
shutil.copy(os.path.join(ws.working_directory, 'Results.gdx'), sim_folder)
for filename in ['UCM_h.lst','UCM_h.log','debug.gdx']:
if os.path.isfile(os.path.join(ws.working_directory, filename)):
shutil.copy(os.path.join(ws.working_directory, 'debug.gdx'), sim_folder)

shutil.copy(os.path.join(ws.working_directory, filename), sim_folder)
logging.info('Completed simulation in {0:.2f} seconds'.format(time.time() - time0))
return status

Expand Down

0 comments on commit efcdfdb

Please sign in to comment.