Skip to content

Entity Mention Linker #2097

Entity Mention Linker

Entity Mention Linker #2097

Triggered via pull request February 7, 2024 17:24
Status Failure
Total duration 22m 37s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
test: flair/datasets/entity_linking.py#L345
ruff pytest_ruff.RuffError: flair/datasets/entity_linking.py:2220:5: D415 First line should end with a period, question mark, or exclamation point | 2218 | # TODO: Adapt this following: https://github.com/flairNLP/flair/pull/3146 2219 | class BigBioEntityLinkingCorpus(Corpus, abc.ABC): 2220 | """This class implements an adapter to data sets implemented in the BigBio framework: | _____^ 2221 | | 2222 | | https://github.com/bigscience-workshop/biomedical 2223 | | 2224 | | The BigBio framework harmonizes over 120 biomedical data sets and provides a uniform 2225 | | programming api to access them. This adapter allows to use all named entity recognition 2226 | | data sets by using the bigbio_kb schema. 2227 | | """ | |_______^ D415 2228 | 2229 | def __init__( | = help: Add closing punctuation flair/datasets/entity_linking.py:2340:5: D415 First line should end with a period, question mark, or exclamation point | 2339 | class BIGBIO_NCBI_DISEASE(BigBioEntityLinkingCorpus): 2340 | """This class implents the adapter for the NCBI Disease corpus: | _____^ 2341 | | 2342 | | - Reference: https://www.sciencedirect.com/science/article/pii/S1532046413001974 2343 | | - Link: https://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/DISEASE/ 2344 | | """ | |_______^ D415 2345 | 2346 | def __init__(self, base_path: Optional[Union[str, Path]] = None, label_type: str = "el-diseases", **kwargs) -> None: | = help: Add closing punctuation flair/datasets/entity_linking.py:2441:5: D415 First line should end with a period, question mark, or exclamation point | 2440 | class BIGBIO_BC5CDR_CHEMICAL(BigBioEntityLinkingCorpus): 2441 | """This class implents the adapter for the BC5CDR corpus (only chemical annotations): | _____^ 2442 | | 2443 | | - Reference: https://academic.oup.com/database/article/doi/10.1093/database/baw068/2630414 2444 | | - Link: https://biocreative.bioinformatics.udel.edu/tasks/biocreative-v/track-3-cdr/ 2445 | | """ | |_______^ D415 2446 | 2447 | def __init__(self, base_path: Optional[Union[str, Path]] = None, label_type: str = "el-chemical", **kwargs) -> None: | = help: Add closing punctuation flair/datasets/entity_linking.py:2532:5: D415 First line should end with a period, question mark, or exclamation point | 2531 | class BIGBIO_GNORMPLUS(BigBioEntityLinkingCorpus): 2532 | """This class implents the adapter for the GNormPlus corpus: | _____^ 2533 | | 2534 | | - Reference: https://www.hindawi.com/journals/bmri/2015/918710/ 2535 | | - Link: https://www.ncbi.nlm.nih.gov/research/bionlp/Tools/gnormplus/ 2536 | | """ | |_______^ D415 2537 | 2538 | def __init__(self, base_path: Optional[Union[str, Path]] = None, label_type: str = "el-genes", **kwargs) -> None: | = help: Add closing punctuation
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.