Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addRelatedIdentifier #47

Closed
oggioniale opened this issue Nov 30, 2020 · 6 comments
Closed

addRelatedIdentifier #47

oggioniale opened this issue Nov 30, 2020 · 6 comments
Assignees
Labels
bug Something isn't working user support
Milestone

Comments

@oggioniale
Copy link

Dear eblondel,
I am continuing to work with your library (which I find very interesting).
In particular I would like to add to a record, not yet published, a Related Identifiers (in particular LSID).
I have successfully added first LSID with

> recordAbetiSoprani$addRelatedIdentifier('cites', 'urn:lsid:faunaeur.org:taxname:229693')
> zenodo$depositRecord(recordAbetiSoprani)

but if I try to add other outputs it is:

> recordAbetiSoprani$addRelatedIdentifier('cites', 'urn:lsid:faunaeur.org:taxname:186816')
[1] FALSE

how can I solve it? Can I load arrays of related identifiers?
thanks

@eblondel
Copy link
Owner

Hi @oggioniale so far i've managed unicity of resource by identifier types, so at now multiple resources for a same type (eg 'cites') is not possible. It might have been a limitation in Zenodo at the time I did it in that way, I have to double check if we can do what you want in Zenodo, in that case I will remove the controls in the R function addRelatedIdentifier

@eblondel eblondel self-assigned this Nov 30, 2020
@oggioniale
Copy link
Author

thanks!!
Please. Let me know the rusult of your check.

@eblondel eblondel added the bug Something isn't working label Nov 30, 2020
@eblondel eblondel added this to the 0.4 milestone Nov 30, 2020
eblondel added a commit that referenced this issue Nov 30, 2020
@eblondel
Copy link
Owner

Well, it sounds more like a but on zen4R. I've just pushed a commit that should solve the issue.

@oggioniale
Copy link
Author

I've just to reinstall the app by devtools::install_github("eblondel/zen4R") and I reloded the record.
After > recordAbetiSoprani$addRelatedIdentifier('cites', 'urn:lsid:faunaeur.org:taxname:186816') but the responce is again [1] FALSE

Any suggestion?

@eblondel
Copy link
Owner

eblondel commented Nov 30, 2020 via email

@oggioniale
Copy link
Author

sure thanks a lot now it is possible to upload more than one Releted Identifier.

@eblondel eblondel modified the milestones: 0.4, 0.5 Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user support
Projects
None yet
Development

No branches or pull requests

2 participants