Skip to content

Reconciliation of duplicate values in publication. Fixes #953#967

Merged
dgarijo merged 9 commits intoKnowledgeCaptureAndDiscovery:devfrom
juanjemdIos:master
Apr 23, 2026
Merged

Reconciliation of duplicate values in publication. Fixes #953#967
dgarijo merged 9 commits intoKnowledgeCaptureAndDiscovery:devfrom
juanjemdIos:master

Conversation

@juanjemdIos
Copy link
Copy Markdown
Contributor

ReferencePublication and CreditText. Better extract bibtext. Same label for 'author'.

…tureAndDiscovery#953

ReferencePublication and CreditText. Better extract bibtext.
Same label for 'author'.
@dgarijo
Copy link
Copy Markdown
Collaborator

dgarijo commented Apr 21, 2026

Please resolve confllicts. Apologies..

Comment thread docs/citationcff.md Outdated
Comment thread docs/citationcff.md Outdated
Comment thread docs/citationcff.md Outdated
Comment thread docs/citationcff.md Outdated
Co-authored-by: Daniel Garijo <dgarijov@gmail.com>
Comment thread docs/output.md Outdated
- `contributing guidelines`: Guidelines indicating how to contribute to a software component.
- `contributors`: Contributors to a software component. Note: Contributor metadata is exported from metadata files (e.g., CodeMeta, CONTRIBUTORS, etc.) not from git logs.
- `copyright_holder`: Entity or individual owning the rights to the software. The year is also extracted, if available.
- `credit_text`: A formatted citation string used to provide credit for the software component, keeping it separate from any associated scholarly publications.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We include this in the schema.org export, but not as a new category.

Comment thread docs/output.md Outdated
Example:
```
"creditText": [
"Garijo, D., Mao, A., Dharmala, H., Diwanji, C., Wang, J., et al. (somef: software metadata extraction framework). "
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

credit text should include the link to the software repository too

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

creditText is only used in schema.org export.
We don't have the referencePublication category in somef. Only citation (with the preferred_citation flag).
referencePublication and creditText are in the schema.org export.

Comment thread docs/output.md Outdated

```

In the CodeMeta export, these categories are mapped to their respective fields, ensuring compliance with scientific metadata standards.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true, but the fields are slightly different from the ones you listed

Comment thread src/somef/parser/authors_parser.py Outdated
if not author_str:
return []

# 1. Limpiar llaves de LaTeX/BibTeX y saltos de línea
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments in spanish pls

Comment thread README.md Outdated
Copy link
Copy Markdown
Collaborator

@dgarijo dgarijo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes and clarifications.
These may affect the logic a bit. Please review

Comment thread docs/output.md Outdated
Comment thread docs/output.md Outdated
Comment thread docs/output.md Outdated
Comment thread docs/output.md Outdated
Comment thread docs/output.md Outdated
Co-authored-by: Daniel Garijo <dgarijov@gmail.com>
@dgarijo dgarijo merged commit 6b4d7d6 into KnowledgeCaptureAndDiscovery:dev Apr 23, 2026
2 checks passed
juanjemdIos added a commit to juanjemdIos/somef that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants