Skip to content

Commit

Permalink
Fix: alabetize lists for easier parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Feb 25, 2024
1 parent 0087f45 commit 6440acf
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/pyosmeta/parse_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,13 @@ def clean_categories(cls, categories: list[str]) -> list[str]:
"""Make sure each category in the list is a valid value.
Valid pyos software categories are:
citation-management-bibliometrics, data-retrieval,
data-extraction, data-processing-munging, data-deposition",
citation-management-bibliometrics, data-deposition,
data-extraction, data-processing-munging, data-retrieval,
data-validation-testing, data-visualization-analysis,
workflow-automation-versioning, database-interoperability,
scientific-software-wrappers, geospatial, education
database-interoperability, education,
geospatial, scientific-software-wrappers,
workflow-automation-versioning
Parameters
----------
Expand All @@ -293,8 +295,8 @@ def clean_categories(cls, categories: list[str]) -> list[str]:

valid_categories = {
"data-processing": "data-processing-munging",
"scientific-software": "scientific-software-wrapper",
"data-validation": "data-validation-testing",
"scientific-software": "scientific-software-wrapper",
}

cleaned_cats = []
Expand Down

0 comments on commit 6440acf

Please sign in to comment.