Skip to content

Commit eed916e

Browse files
committed
README was still wrong. Fixed now.
1 parent b21c592 commit eed916e

File tree

2 files changed

+71
-56
lines changed

2 files changed

+71
-56
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ build/
1111
dist/
1212
coverage.xml
1313
.coverage
14-
htmlcov/
14+
htmlcov/
15+
README_old.rst

README.rst

Lines changed: 69 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,33 @@
11
Academic Tracker
22
================
3-
..
4-
.. image:: https://img.shields.io/pypi/l/academic_tracker.svg
5-
:target: https://choosealicense.com/licenses/bsd-3-clause-clear/
6-
:alt: License information
7-
8-
.. image:: https://img.shields.io/pypi/v/academic_tracker.svg
9-
:target: https://pypi.org/project/academic_tracker
10-
:alt: Current library version
11-
12-
.. image:: https://img.shields.io/pypi/pyversions/academic_tracker.svg
13-
:target: https://pypi.org/project/academic_tracker
14-
:alt: Supported Python versions
15-
16-
.. image:: https://readthedocs.org/projects/nmrstarlib/badge/?version=latest
17-
:target: http://mwtab.readthedocs.io/en/latest/?badge=latest
18-
:alt: Documentation status
19-
20-
.. image:: https://github.com/MoseleyBioinformaticsLab/academic_tracker/actions/workflows/build.yml/badge.svg
21-
:target: https://github.com/MoseleyBioinformaticsLab/academic_tracker/actions/workflows/build.yml
22-
:alt: Build status
23-
24-
.. image:: https://codecov.io/gh/MoseleyBioinformaticsLab/academic_tracker/branch/master/graphs/badge.svg?branch=master
25-
:target: https://codecov.io/gh/MoseleyBioinformaticsLab/academic_tracker
26-
:alt: Code coverage information
27-
28-
.. image:: https://img.shields.io/badge/DOI-10.3390%2Fmetabo11030163-blue.svg
29-
:target: https://doi.org/10.3390/metabo11030163
30-
:alt: Citation link
31-
32-
.. image:: https://img.shields.io/github/stars/MoseleyBioinformaticsLab/academic_tracker.svg?style=social&label=Star
33-
:target: https://github.com/MoseleyBioinformaticsLab/academic_tracker
34-
:alt: GitHub project
3+
4+
.. image:: https://img.shields.io/pypi/v/academic_tracker.svg
5+
:target: https://pypi.org/project/academic_tracker
6+
:alt: Current library version
7+
8+
.. image:: https://img.shields.io/pypi/pyversions/academic_tracker.svg
9+
:target: https://pypi.org/project/academic_tracker
10+
:alt: Supported Python versions
11+
12+
.. image:: https://github.com/MoseleyBioinformaticsLab/academic_tracker/actions/workflows/build.yml/badge.svg
13+
:target: https://github.com/MoseleyBioinformaticsLab/academic_tracker/actions/workflows/build.yml
14+
:alt: Build status
15+
16+
.. image:: https://codecov.io/gh/MoseleyBioinformaticsLab/academic_tracker/branch/main/graphs/badge.svg?branch=main
17+
:target: https://codecov.io/gh/MoseleyBioinformaticsLab/academic_tracker
18+
:alt: Code coverage information
19+
20+
.. image:: https://img.shields.io/badge/DOI-10.1371%2Fjournal.pone.0277834-blue.svg
21+
:target: https://doi.org/10.1371/journal.pone.0277834
22+
:alt: Citation link
23+
24+
.. image:: https://img.shields.io/github/stars/MoseleyBioinformaticsLab/academic_tracker.svg?style=social&label=Star
25+
:target: https://github.com/MoseleyBioinformaticsLab/academic_tracker
26+
:alt: GitHub project
3527

3628
|
3729
38-
Academic Tracker was created to automate the process of making sure that NIH
30+
Academic Tracker was created to automate the process of making sure that federally
3931
funded publications get listed on PubMed and that the grant funding source for
4032
them is cited.
4133

@@ -47,24 +39,30 @@ and return what relevant information is available from those sources.
4739

4840
The primary use case is to give the program a list of authors to find publications
4941
for. From this list of publications it can then be determined which ones need
50-
further action to be in compliance with NIH.
42+
further action to be in compliance.
5143

44+
A secondary use case for finding author's publications is to create a report of
45+
the collaborators they have worked with, and can be done by specifying the creation
46+
of that report in the configuration file. Details on reports are in the `documentation <https://moseleybioinformaticslab.github.io/academic_tracker/reporting.html>`__.
5247

48+
The other primary use case is to give the program a list of publication references
49+
to find information for.
5350

5451
Links
5552
~~~~~
5653

5754
* Academic Tracker @ GitHub_
5855
* Academic Tracker @ PyPI_
59-
* Documentation @ ReadTheDocs_
56+
* Documentation @ Pages_
6057

6158

6259
Installation
6360
~~~~~~~~~~~~
64-
The Academic Tracker package runs under Python 3.7+. Use pip_ to install.
65-
Starting with Python 3.4, pip_ is included by default. Academic Tracker relies
66-
on sendmail which is built into Linux to send emails, so it is only available for
67-
use there.
61+
The Academic Tracker package runs under Python 3.8+. Use pip_ to install.
62+
Starting with Python 3.4, pip_ is included by default. Be sure to use the latest
63+
version of pip as older versions are known to have issues grabbing all dependencies.
64+
Academic Tracker relies on sendmail to send emails, so if you need to use that
65+
feature be sure sendmail is installed and in PATH.
6866

6967

7068
Install on Linux, Mac OS X
@@ -75,14 +73,28 @@ Install on Linux, Mac OS X
7573
python3 -m pip install academic_tracker
7674
7775
76+
Install on Windows
77+
------------------
7878

79+
.. code:: bash
80+
81+
py -3 -m pip install academic_tracker
82+
7983
8084
Upgrade on Linux, Mac OS X
8185
--------------------------
8286

8387
.. code:: bash
8488
8589
python3 -m pip install academic_tracker --upgrade
90+
91+
92+
Upgrade on Windows
93+
------------------
94+
95+
.. code:: bash
96+
97+
py -3 -m pip install academic_tracker --upgrade
8698
8799
88100
@@ -94,30 +106,34 @@ case is simply:
94106
.. code:: bash
95107
96108
academic_tracker author_search config_file.json
97-
109+
98110
Example config files can be downloaded from the `example_configs <https://github.com/MoseleyBioinformaticsLab/academic_tracker>`_
99111
directory of the GitHub_.
100112

101113
Academic Tracker's behavior can be quite complex though, so it is highly encouraged
102-
to read the :doc:`guide` and :doc:`tutorial`.
114+
to read the `guide <https://moseleybioinformaticslab.github.io/academic_tracker/guide.html>`_
115+
and `tutorial <https://moseleybioinformaticslab.github.io/academic_tracker/tutorial.html>`_.
103116

104117

105118
Creating The Configuration JSON
106119
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107120
A configuration JSON file is required to run Academic Tracker, but initially creating
108121
it the first time can be burdensome. Unfortunately, there is no easy solution for
109-
this. It is encouraged to read the configuration JSON section in :doc:`jsonschema`
122+
this. It is encouraged to read the configuration JSON section in `jsonschema <https://moseleybioinformaticslab.github.io/academic_tracker/jsonschema.html>`_
110123
and use the example there to create it initially. The add_authors command can help
111124
with building the Authors section if you already have a csv file with author
112-
information. A good tool to help track down pesky JSON syntax errors is `here <https://csvjson.com/json_validator>`_.
125+
information. A good tool to help track down pesky JSON syntax errors is `here <https://csvjson.com/json_validator>`__.
126+
There are also examples in the `example_configs <https://github.com/MoseleyBioinformaticsLab/academic_tracker/tree/main/example_configs>`__
127+
directory of the GitHub repo. There are also more example in the supplemental
128+
material of the paper https://doi.org/10.6084/m9.figshare.19412165.
113129

114130

115131
Registering With ORCID
116132
~~~~~~~~~~~~~~~~~~~~~~
117133
In order to have this program search ORCID you must register with ORCID and obtain
118-
a key and secret. Details on how to do that are `here <https://info.orcid.org/documentation/integration-guide/registering-a-public-api-client/>`_.
134+
a key and secret. Details on how to do that are `here <https://info.orcid.org/documentation/integration-guide/registering-a-public-api-client/>`__.
119135
If you do not want to do that then the --no_ORCID option can be used to skip searching
120-
ORCID.
136+
ORCID, or don't include the ORCID_search section in the config file.
121137

122138

123139
Mac OS Note
@@ -127,17 +143,16 @@ When you try to run the program on Mac OS you may get an SSL error.
127143
certificate verify failed: unable to get local issuer certificate
128144

129145
This is due to a change in Mac OS and Python. To fix it go to to your Python
130-
folder in Applications and run the Install Certificates.command shell command.
131-
This should fix the issue.
146+
folder in Applications and run the Install Certificates.command shell command
147+
in the /Applications/Python 3.x folder. This should fix the issue.
132148

133149

134150
Email Sending Note
135151
~~~~~~~~~~~~~~~~~~
136152
Academic Tracker uses sendmail to send emails, so any system it is going to be
137-
used on needs to have sendmail installed in /usr/sbin/sendmail. If you try to
138-
send emails without this the program will error. This can be avoided by using
139-
the --test option though. The --test option blocks email sending so the program
140-
can be ran just fine on systems without sendmail if that option is used. Email
153+
used on needs to have sendmail installed and the path in PATH. If you try to
154+
send emails without this the program will display a warning. This can be avoided
155+
by using the --test option though. The --test option blocks email sending. Email
141156
sending can also be avoided by leaving the from_email attribute out of the report
142157
sections of the configuration JSON file.
143158

@@ -176,11 +191,10 @@ multiple runs then try upgrading Academic Tracker's dependencies with
176191

177192
License
178193
~~~~~~~
179-
This package is distributed under the BSD_ `license`.
194+
This package is distributed under the BSD `license <https://moseleybioinformaticslab.github.io/academic_tracker/license.html>`__.
180195

181196

182197
.. _GitHub: https://github.com/MoseleyBioinformaticsLab/academic_tracker
183-
.. _ReadTheDocs: http://academic_tracker.readthedocs.io
198+
.. _Pages: https://moseleybioinformaticslab.github.io/academic_tracker/
184199
.. _PyPI: https://pypi.org/project/academic_tracker
185-
.. _pip: https://pip.pypa.io
186-
.. _BSD: https://choosealicense.com/licenses/bsd-3-clause-clear/
200+
.. _pip: https://pip.pypa.io

0 commit comments

Comments
 (0)