From fc105a56398eae470eb6b57e7edf79bbbef74c09 Mon Sep 17 00:00:00 2001 From: "Sadie L. Bartholomew" Date: Tue, 1 Oct 2024 09:51:27 +0100 Subject: [PATCH] Fix for CATSOutput new better order of args --- cats/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cats/__init__.py b/cats/__init__.py index 1d2d644..ae189b8 100644 --- a/cats/__init__.py +++ b/cats/__init__.py @@ -335,7 +335,8 @@ def main(arguments=None) -> int: # Find best possible average carbon intensity, along # with corresponding job start time. now_avg, best_avg = get_avg_estimates(CI_forecast, duration=duration) - output = CATSOutput(now_avg, best_avg, location, "GBR", not colour_output) + output = CATSOutput( + now_avg, best_avg, location, "GBR", colour=not colour_output) ################################ ## Calculate carbon footprint ##