Skip to content

Commit 4cba840

Browse files
Merge pull request #171 from E3SM-Project/2.2.4
2.2.4
2 parents e52c3a0 + 6400e4a commit 4cba840

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

processflow/lib/initialize.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def initialize(argv, **kwargs):
100100
event_list=event_list)
101101

102102
if not os.path.exists(pargs.config):
103-
print("Invalid config, {} does not exist".format(pargs.config))
103+
print("{} does not exist".format(pargs.config))
104104
return False, False, False
105105

106106
# Check that there are no white space errors in the config file
@@ -201,9 +201,8 @@ def initialize(argv, **kwargs):
201201
'run.cfg')
202202
# if we're using the config in the project directory no need to copy
203203
if pargs.config != input_config_path:
204-
if os.path.exists(input_config_path):
205-
os.remove(input_config_path)
206-
copy(pargs.config, input_config_path)
204+
if not os.path.exists(input_config_path):
205+
copy(pargs.config, input_config_path)
207206

208207
if config['global']['always_copy']:
209208
msg = 'Running in forced-copy mode, previously hosted diagnostic output will be replaced'

processflow/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# version information
22
from __future__ import unicode_literals
3-
__version__ = '2.2.3'
4-
__branch__ = 'nightly'
3+
__version__ = '2.2.4'
4+
__branch__ = 'master'

0 commit comments

Comments
 (0)