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

[uns] Check if publication id exists is not working #47

Open
anitacaron opened this issue Aug 16, 2024 · 0 comments
Open

[uns] Check if publication id exists is not working #47

anitacaron opened this issue Aug 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@anitacaron
Copy link
Collaborator

anitacaron commented Aug 16, 2024

Check code on

scxa_2_cxg/src/scxa2cxg.py

Lines 241 to 242 in 5aeaec5

if not metadata[metadata[0].fillna('').str.startswith('Publication DOI')].empty:
pub = f"Publication: https://doi.org/{metadata[metadata[0].fillna('').str.startswith('Publication DOI')].values[0][1]} "

Test with E-MTAB-7195, which has no publication linked to it.

@anitacaron anitacaron added the bug Something isn't working label Aug 16, 2024
@anitacaron anitacaron self-assigned this Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant