Commit 808fcd46 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Georgios Dagkakis

cherry-pick from readWIPseperatelly. outputResultsJSON of Job does not print...

cherry-pick from readWIPseperatelly. outputResultsJSON of Job does not print if there is no schedule
parent 5d86f089
......@@ -62,7 +62,8 @@ class Job(Entity): # inherits from the Entity c
'family': self.family,
'results': {} }
#json['extraPropertyDict'] = self.extraPropertyDict
# if there is schedule
if self.schedule:
#if the Job has reached an exit, input completion time in the results
if self.schedule[-1][0].type=='Exit':
json['results']['completionTime']=self.schedule[-1][1]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment