feat!: generalize script by removing organizational metadata
All checks were successful
Test pipeline / test (push) Successful in 14s

Remove Phase class, organizational metadata blocks, and unused project fields. Update configuration
to use 'default_grants' and simplify PI usage to fallback corresponding author determination only.

BREAKING CHANGES: - Remove 'phase' and 'project' fields from configuration - Use 'default_grants'
instead of 'default_grant' - Generate only standard Dataverse citation metadata
This commit is contained in:
Alexander Minges 2025-07-07 14:41:39 +02:00
parent 01bc537bd8
commit 67b46d5140
Signed by: Athemis
SSH key fingerprint: SHA256:TUXshgulbwL+FRYvBNo54pCsI0auROsSEgSvueKbkZ4
11 changed files with 207 additions and 269 deletions

View file

@ -1,23 +1,25 @@
default_grant:
dataverse:
url: "https://your-dataverse-instance.org"
api_token: "your-api-token-here"
dataverse: "your-dataverse-alias"
auth_user: "your-username"
auth_password: "your-password"
default_grants:
- funder: "Awesome Funding Agency"
id: "ABC12345"
phase:
"Phase 1 (2021/2025)":
start: 2021
end: 2025
- funder: "Another Funding Agency"
id: "DEF67890"
pis:
- family_name: "Doe"
given_name: "Jon"
orcid: "0000-0000-0000-0000"
email: "jon.doe@some-university.edu"
email: "jon.doe@iana.org"
affiliation: "Institute of Science, Some University"
project: ["Project A01"]
- family_name: "Doe"
given_name: "Jane"
orcid: "0000-0000-0000-0001"
email: "jane.doe@some-university.edu"
email: "jane.doe@iana.org"
affiliation: "Institute of Science, Some University"
project: ["Project A02"]