Skip to content

Commit

Permalink
Merge pull request #110 from DE-RSE/order-authors
Browse files Browse the repository at this point in the history
Order authors by name and contribution tier
  • Loading branch information
dokempf authored Feb 10, 2025
2 parents 2529d09 + 3f7985c commit a226d61
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
if 'affiliations' in author:
author["affiliations"] = [data["affiliations"][aff] for aff in author["affiliations"]]

# Sort by last name and contribution tier
data["authors"] = list(sorted(sorted(data["authors"], key=lambda x: x["lastName"]), key=lambda x: x.get("tier", 2)))

env = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.getcwd()),
keep_trailing_newline=True,
Expand Down
9 changes: 8 additions & 1 deletion contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ authors:
affiliations:
- Institute for Modelling Hydraulic and Environmental Systems, University of Stuttgart, Germany
orcid: 0000-0001-8188-620X
tier: 1

- author: "Florian Goth"
firstName: Florian
Expand All @@ -35,6 +36,7 @@ authors:
FG acknowledges funding from the Deutsche Forschungsgemeinschaft
(DFG, German Research Foundation) through the SFB 1170 “Tocotronics”,
project Z03 - project number \href{https://gepris.dfg.de/gepris/projekt/258499086?language=en}{258499086}.
tier: 1

- author: "Jean-Noël Grad"
firstName: Jean-Noël
Expand Down Expand Up @@ -75,6 +77,7 @@ authors:
acknowledgements: |
DK acknowledges support from the Scientific Software Center which is funded as part
of the Excellence Strategy of the German Federal and State Governments.
tier: 0

- author: "Jan Linxweiler"
firstName: Jan
Expand All @@ -84,6 +87,7 @@ authors:
- Technische Universität Braunschweig, Germany
orcid: 0000-0002-2755-5087
email: [email protected]
tier: 1

- author: "Axel Loewe"
firstName: Axel
Expand All @@ -102,6 +106,7 @@ authors:
- Competence Center Digital Research, Friedrich Schiller University Jena, Germany
orcid: 0000-0001-6643-6323
email: [email protected]
tier: 1

- author: "Philipp Matthias Schäfer"
firstName: Philipp Matthias
Expand All @@ -111,6 +116,7 @@ authors:
- Competence Center Digital Research, Friedrich Schiller University Jena, Germany
orcid: 0000-0003-3931-6670
email: [email protected]
tier: 1

- author: "Philipp S. Sommer"
firstName: Philipp S.
Expand All @@ -125,6 +131,7 @@ authors:
- Jülich Supercomputing Centre, Forschungszentrum Jülich GmbH, Germany
orcid: 0000-0002-3879-1210
email: [email protected]
tier: 1

- author: "Alexander Struck"
firstName: Alexander
Expand All @@ -136,4 +143,4 @@ authors:
email: [email protected]
acknowledgements: |
AS acknowledges the support of the Cluster of Excellence »Matters of Activity. Image Space Material« funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany's Excellence Strategy – EXC 2025 – 390648296.
tier: 1

0 comments on commit a226d61

Please sign in to comment.