Commit 92bec98c authored by Georgios Dagkakis's avatar Georgios Dagkakis

plugin to be able to work if number of replications is by default 1

parent 5f621ce1
......@@ -51,7 +51,7 @@ class JSComponentTabSchedule(plugin.OutputPreparationPlugin, TimeSupportMixin):
"""Post process the job schedules and formats to be presented in tabular format
"""
self.data = data
numberOfReplications = int(data['general']['numberOfReplications'])
numberOfReplications = int(data['general'].get('numberOfReplications',1))
'''Time definition'''
strptime = datetime.datetime.strptime
# read the current date and define dateFormat from it
......
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