Skip to content

Commit

Permalink
201: Added check for scaninputs in non-reproduce branch (#202)
Browse files Browse the repository at this point in the history
201: Added check for scaninputs in non-reproduce branch
  • Loading branch information
aidanheerdegen committed Oct 8, 2019
1 parent 098e9db commit 0ca7b9e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion payu/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,22 @@ def setup(self):

# Must make links as no files will be added to the manifest
for mf in ['exe', 'restart', 'input']:
print(mf)
print('Making links: {}'.format(mf))
self.manifests[mf].make_links()

for model in self.expt.models:
model.have_restart_manifest = True

else:
self.have_manifest['restart'] = False

if not self.scaninputs:
# If input directories not scanned then the only
# way to populate the inputs in work is to rely
# on input manifest
print('Making links from input manifest (scaninputs=False)')
self.manifests['input'].make_links()

def check_manifests(self):

print("Checking exe and input manifests")
Expand Down

0 comments on commit 0ca7b9e

Please sign in to comment.