Skip to content
Snippets Groups Projects
Commit de4dc27d authored by Anne Philipp's avatar Anne Philipp
Browse files

added removing tar file after ecgate installtion

parent 45c6337e
Branches
Tags
No related merge requests found
......@@ -60,7 +60,8 @@ from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
import _config
from classes.ControlFile import ControlFile
from classes.UioFiles import UioFiles
from mods.tools import make_dir, put_file_to_ecserver, submit_job_to_ecserver
from mods.tools import (make_dir, put_file_to_ecserver, submit_job_to_ecserver,
silent_remove)
# ------------------------------------------------------------------------------
# FUNCTIONS
......@@ -178,6 +179,8 @@ def install_via_gateway(c):
os.path.join(_config.PATH_REL_JOBSCRIPTS,
_config.FILE_INSTALL_COMPILEJOB))
silent_remove(tar_file)
print('job compilation script has been submitted to ecgate for ' +
'installation in ' + c.flexpart_root_scripts +
'/' + target_dirname)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment