You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The person idenfication heuristics give the impression that the email address is optional when specifying people. This is also necessary, if an author wishes to be listed by name only.
However, when I omit the email address in somesy.toml, I get the following error:
Error: 1 validation error for SomesyInput
project.people.3.email
Field required
For further information visit https://errors.pydantic.dev/2.5/v/missing
To Reproduce
Run somesy sync on an input file that contains a person for which no email is supplied.
Expected behavior
No email is listed for this person in the output files
Environment
Provide information about versions of relevant software packages.
Python Version 3.10
Ubuntu 22.04
pydantic version 2.5.3
The text was updated successfully, but these errors were encountered:
Most of the Author metadata like in pyproject.toml requires an email since their format is author_full_name <euthor_email>. Therefore, we made family names, given names, and email required fields. In person heuristics, what we would like to have is actually an orcid profile, which is better for recognizing humans since emails change with affiliation too.
Neither pyproject nor CITATION.cff require an email. I do not understand why somesy needs to be stricter than the output standards. For privacy reasons and/or to avoid spam authors may choose to not supply an email adress which in my opinion should be respected. Please consider reopening this issue.
Describe the bug
The person idenfication heuristics give the impression that the email address is optional when specifying people. This is also necessary, if an author wishes to be listed by name only.
However, when I omit the email address in somesy.toml, I get the following error:
To Reproduce
Run somesy sync on an input file that contains a person for which no email is supplied.
Expected behavior
No email is listed for this person in the output files
Environment
Provide information about versions of relevant software packages.
The text was updated successfully, but these errors were encountered: