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

DataLoader: un-intended output of cs.DataLoader().covid19dh_citation #218

Closed
lisphilar opened this issue Aug 31, 2020 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@lisphilar
Copy link
Owner

lisphilar commented Aug 31, 2020

Summary

When used covid19dh version 1.0.0 (dependency of CovsirPhy), cs.DataLoader().covid19dh_citation returned the detailed citation list of COVID-19 Data Hub. However, CovsirPhy verison 2.8.0 with covid19h version 2.0.3, this method returns un-intended output.

Related classes

  • covsirphy.DataLoader.covid19dh_citation

Codes and outputs:

import covsirphy as cs
# Dataset preparation
data_loader = cs.DataLoader("input")
data_loader.covid19dh_citation

This code returns

'iso_alpha_3\nadministrative_area_level\ndata_type\nurl\ntitle\nyear\nbibtype\nauthor\ninstitution\ntextVersion'

Environment

  • CovsirPhy version: 2.8.0
  • Python version; 3.8
  • Installation: pipenv
  • OS: WSL
@lisphilar lisphilar added the bug Something isn't working label Aug 31, 2020
@lisphilar
Copy link
Owner Author

This will be fixed in version 2.8.1

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