Commit ·
476cc83
1
Parent(s): f957799
Deprecate (#3)
Browse files- Add deprecation warning in script (f41bccf994a6aa91ee613a36e53095fdedb85a01)
- Add deprecation warning in dataset card (0a2dad8eff4fe0aa4da0ac6ce370962a5e2c2fdd)
Files changed (2)
- README.mdAdded+9
- pmc_open_access.py+5
123456789# Dataset Card for pmc_open_access
## Dataset Description
### Dataset Summary
<div class="course-tip course-tip-orange bg-gradient-to-br dark:bg-gradient-to-r before:border-orange-500 dark:before:border-orange-800 from-orange-50 dark:from-gray-900 to-white dark:to-gray-950 border border-orange-50 text-orange-700 dark:text-gray-400"> <p><b>Deprecated:</b> Dataset "pmc_open_access" is deprecated and will be deleted. Use "<a href="https://huggingface.co/datasets/pmc/open_access">pmc/open_access</a>" instead.</p></div>14 unmodified lines1516171819202164 unmodified lines8687888990919293949514 unmodified lines"""PMC Open Access Subset."""
import datetimeimport warnings
import pandas as pd
64 unmodified lines DEFAULT_CONFIG_NAME = "all"
def _info(self): warnings.warn( "Dataset 'pmc_open_access' is deprecated and will be deleted. Use 'pmc/open_access' instead.", FutureWarning, ) return datasets.DatasetInfo( description=_DESCRIPTION, features=datasets.Features(README.mdAdded+9
pmc_open_access.py+5