From 9ee6da52059ffc3eaf1af3a32e4e7983bddee1fd Mon Sep 17 00:00:00 2001 From: Irfan Alibay Date: Wed, 17 Jan 2024 12:19:15 +0000 Subject: [PATCH] Fix typo in no test case Issue brought forward by @fiona-naughton --- utils/mdakit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/mdakit.py b/utils/mdakit.py index 4a637f3f..3d166ac5 100644 --- a/utils/mdakit.py +++ b/utils/mdakit.py @@ -336,8 +336,8 @@ def gen_ci_badges(self, run_type): status = getattr(self.status.data, run_type) if ((self.metadata.run_tests is None) or - (run_type == 'develop' and self.metadata.install is None) or - (run_type == 'latest' and self.metadata.src_install is None)): + (run_type == 'develop' and self.metadata.src_install is None) or + (run_type == 'latest' and self.metadata.install is None)): return self._get_custom_badge(run_type, "unavailable", "inactive") elif status.numfails > 1: return self._get_custom_badge(run_type, "failed", "red")