Verified Commit f4212243 authored by Hines, Jesse's avatar Hines, Jesse
Browse files

Fix workload no time

parent b84a805c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -67,9 +67,10 @@ class Workload:
        # This function calls the job generation function as specified by the workload keyword.
        # The respective funciton of this class is called.
        jobs = getattr(self, self.args.workload)(args=self.args)
        timestep_end = int(math.ceil(max([job.end_time for job in jobs])))
        return WorkloadData(
            jobs=jobs,
            telemetry_start=0, telemetry_end=self.args.time,
            telemetry_start=0, telemetry_end=timestep_end,
            start_date=self.args.start,
        )