Skip to content

Commit 3cd0ef7

Browse files
update for jules primary source
1 parent 83a99d4 commit 3cd0ef7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

suite_report_git/suite_data.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ def determine_primary_source(self) -> str:
127127
if len(self.dependencies) == 1:
128128
return list(self.dependencies.keys())[0]
129129

130+
# If 2 dependencies, remove simsys_scripts
131+
if len(self.dependencies) == 2:
132+
for item in self.dependencies:
133+
if item.lower() != "simsys_scripts":
134+
return item
135+
130136
# If LFRic Apps in sources, that is the primary source
131137
if "lfric_apps" in self.dependencies.keys():
132138
return "lfric_apps"

0 commit comments

Comments
 (0)