Skip to content

Commit

Permalink
Update yaml_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dansand authored May 14, 2024
1 parent 250c7cc commit 5785c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/yaml_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def configure_yaml_output_dict(output_dict, issue_dict,
#check that any structures that need to be in lists are in lists
if not isinstance(output_dict['software'], list):
output_dict['software'] = [output_dict['software']]
if not isinstance(output_dict['research_tags'], list):
output_dict['research_tags'] = [output_dict['research_tags']]
#if not isinstance(output_dict['research_tags'], list):
# output_dict['research_tags'] = [output_dict['research_tags']]


#Add any additional mappings that we can't manage in the generalised function
Expand Down

0 comments on commit 5785c54

Please sign in to comment.