-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from dvklopfenstein/dvk
Pytest; get_indexs fnc; summarize_papers; Copyright cleanup; Add QUERY to summary prints
- Loading branch information
Showing
37 changed files
with
204 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,5 +29,5 @@ jobs: | |
|
||
- name: Test with pytest | ||
run: | | ||
pip install pytest pytest-cov | ||
pip install pytest coverage | ||
make pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
#!/usr/bin/env python3 | ||
"""Summarize NIH citation data for requested papers from the commandline or in files""" | ||
|
||
__copyright__ = "Copyright (C) 2022-present, DV Klopfenstein, PhD, PhD. All rights reserved." | ||
__author__ = "DV Klopfenstein, PhD, PhD" | ||
__copyright__ = "Copyright (C) 2022-present, DV Klopfenstein, PhD. All rights reserved." | ||
__author__ = "DV Klopfenstein, PhD" | ||
|
||
from pmidcite.cli.summarize_papers import SummarizePapersCli # get_argparser | ||
from pmidcite.cfg import get_cfgparser | ||
from pmidcite.scripts.summarize_papers import main | ||
|
||
|
||
def main(): | ||
"""Summarize NIH citation data for requested papers from the commandline or in files""" | ||
SummarizePapersCli(get_cfgparser(prt=None)).cli() | ||
|
||
if __name__ == '__main__': | ||
main() | ||
|
||
# Copyright (C) 2022-present, DV Klopfenstein, PhD, PhD. All rights reserved. | ||
# Copyright (C) 2022-present, DV Klopfenstein, PhD. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""Code to access NIH's iCite API""" | ||
|
||
__copyright__ = 'Copyright (C) 2019-present, DV Klopfenstein, PhD, PhD. All rights reserved' | ||
__author__ = 'DV Klopfenstein, PhD, PhD' | ||
__copyright__ = 'Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved' | ||
__author__ = 'DV Klopfenstein, PhD.' | ||
|
||
|
||
# Copyright (C) 2019-present, DV Klopfenstein, PhD, PhD. All rights reserved | ||
# Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
"""Version of pmidcite project""" | ||
|
||
__copyright__ = 'Copyright (C) 2019-present, DV Klopfenstein, PhD, PhD. All rights reserved' | ||
__author__ = ' DV Klopfenstein, PhD, PhD' | ||
__copyright__ = 'Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved' | ||
__author__ = ' DV Klopfenstein, PhD. | ||
__version__ = '0.0.45' | ||
|
||
# Copyright (C) 2019-present, DV Klopfenstein, PhD, PhD. All rights reserved | ||
# Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
"""Cite the pmidcite project""" | ||
|
||
__copyright__ = "Copyright (C) 2019-present, DV Klopfenstein, PhD. All rights reserved." | ||
__author__ = "DV Klopfenstein, PhD" | ||
|
||
|
||
CITATION = """ | ||
If you use pmidcite in your research or literature search, | ||
please cite the publication in any papers, pre-prints or reports. | ||
The proper citation information for pmidcite appears below. | ||
Reference: | ||
========== | ||
Klopfenstein, D.V., & Dampier, W. (2021). | ||
Commentary to Gusenbauer and Haddaway 2020: Evaluating retrieval qualities of Google Scholar and PubMed. | ||
Research Synthesis Methods, 12(2), 126–135. https://doi.org/10.1002/jrsm.1456 | ||
bibtex: | ||
======= | ||
@article{Klopfenstein_2021, | ||
author = {Klopfenstein, DV and Dampier, Will}, | ||
doi = {10.1002/jrsm.1456}, | ||
pmid = {33031632}, | ||
eprint = {33031632}, | ||
eprinttype = {pubmed}, | ||
url = {https://onlinelibrary.wiley.com/doi/10.1002/jrsm.1456} | ||
journal = {Research Synthesis Methods}, | ||
publisher = {{Wiley}}, | ||
month = {mar}, | ||
number = {2}, | ||
pages = {126--135}, | ||
title = {{Commentary to Gusenbauer and Haddaway 2020: Evaluating retrieval qualities of Google Scholar and PubMed}}, | ||
volume = {12}, | ||
year = {2021} | ||
} | ||
""" | ||
|
||
# Copyright (C) 2019-present DV Klopfenstein, PhD. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.