Skip to content

Commit a36d836

Browse files
committed
move article_class.py to article.py; update imports
1 parent 97381ca commit a36d836

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

allofplos/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ def get_corpus_dir():
3030
# import after creating global variables that they may rely upon
3131
# (e.g., corpusdir)
3232

33-
from .article_class import Article
33+
from .article import Article
3434
from .corpus import Corpus

allofplos/corpus/plos_corpus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
from ..plos_regex import validate_doi
3939
from ..transformations import (BASE_URL_API, filename_to_doi, doi_to_path, doi_to_url)
40-
from ..article_class import Article
40+
from ..article import Article
4141
from .gdrive import (download_file_from_google_drive, get_zip_metadata, unzip_articles,
4242
ZIP_ID, LOCAL_ZIP, LOCAL_TEST_ZIP, TEST_ZIP_ID, min_files_for_valid_corpus)
4343

allofplos/makedb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from .corpus import Corpus
2121
from .transformations import filename_to_doi, convert_country
2222
from . import starterdir
23-
from .article_class import Article
23+
from .article import Article
2424

2525
journal_title_dict = {
2626
'PLOS ONE': 'PLOS ONE',

allofplos/samples/corpus_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from ..plos_corpus import (listdir_nohidden, uncorrected_proofs_text_list,
2323
download_updated_xml, get_all_solr_dois,
2424
download_check_and_move)
25-
from ..article_class import Article
25+
from ..article import Article
2626

2727
counter = collections.Counter
2828
pmcdir = "pmc_articles"

0 commit comments

Comments
 (0)