Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elsevier prep.20240417 #103

Merged
merged 10 commits into from
May 2, 2024

Commits on Apr 18, 2024

  1. Adds msup tag to allowed MathML in base.py

     	modified:   adsingestp/parsers/base.py
    seasidesparrow committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    524b613 View commit details
    Browse the repository at this point in the history
  2. Uniform test output jsons (indent, sort_keys)

    	modified:   tests/stubdata/output/copernicus_ESSD_essd-15-3075-2023.json
    	modified:   tests/stubdata/output/copernicus_GeChr_gchron-5-323-2023.json
    	modified:   tests/stubdata/output/copernicus_ISPAn_isprs-annals-X-M-1-2023-237-2023.json
    	modified:   tests/stubdata/output/copernicus_ISPAr_isprs-archives-XLVIII-M-2-2023-721-2023.json
    	modified:   tests/stubdata/output/crossref_10.1002_1521-3994.json
    	modified:   tests/stubdata/output/crossref_10.1103_PhysRevD_64-117303.json
    	modified:   tests/stubdata/output/crossref_10.1146_annurev.energy.25.1.441.json
    	modified:   tests/stubdata/output/crossref_10.3137_a0410105.json
    	modified:   tests/stubdata/output/crossref_10.3847_2041-8213.json
    	modified:   tests/stubdata/output/crossref_book_10.1007-978-1-4614-3520-4.json
    	modified:   tests/stubdata/output/crossref_book_10.1017-CBO9780511709265.json
    	modified:   tests/stubdata/output/crossref_cn_10.1051=0004-6361=202243540.json
    	modified:   tests/stubdata/output/crossref_cn_10.1088=1475-7516=2022=10=098.json
    	modified:   tests/stubdata/output/crossref_cn_10.1093=mnras=stac2975.json
    	modified:   tests/stubdata/output/crossref_cn_10.1093=pasj=psac053.json
    	modified:   tests/stubdata/output/crossref_cn_10.3847=1538-4357=ac8c2f.json
    	modified:   tests/stubdata/output/crossref_conf_10.1049-cp.2010.1342.json
    	modified:   tests/stubdata/output/crossref_conf_10.1109-MWSYM.2013.6697399.json
    	modified:   tests/stubdata/output/crossref_preprint_10.1002-essoar.10508651.1.json
    	modified:   tests/stubdata/output/crossref_preprint_10.1002-essoar.10511074.2.json
    	modified:   tests/stubdata/output/crossref_preprint_10.31223-X55K7G.json
    	modified:   tests/stubdata/output/crossref_preprint_10.31223-X5FW25.json
    	modified:   tests/stubdata/output/crossref_preprint_10.31223-X5WD2C.json
    	modified:   tests/stubdata/output/datacite_schema3.1_example-full.json
    	modified:   tests/stubdata/output/datacite_schema4.1_example-full.json
    	modified:   tests/stubdata/output/datacite_schema4.1_example-software.json
    	modified:   tests/stubdata/output/datacite_schema4_example-habanero-pdsdataset.json
    	modified:   tests/stubdata/output/els_missing_keywords_tag.json
    	modified:   tests/stubdata/output/jats_a+a_multiparagraph_abstract.json
    	modified:   tests/stubdata/output/jats_a+a_subtitle.json
    	modified:   tests/stubdata/output/jats_aip_aipc_2470_040010.json
    	modified:   tests/stubdata/output/jats_aip_amjph_90_286.json
    	modified:   tests/stubdata/output/jats_aj_158_4_139.json
    	modified:   tests/stubdata/output/jats_aj_158_4_139_fulltext.json
    	modified:   tests/stubdata/output/jats_aj_158_4_139_fulltext_tags.json
    	modified:   tests/stubdata/output/jats_iop_aj_162_1.json
    	modified:   tests/stubdata/output/jats_iop_ansnn_12_2_025001.json
    	modified:   tests/stubdata/output/jats_iop_apj_923_1_47.json
    	modified:   tests/stubdata/output/jats_iop_no_contribs.json
    	modified:   tests/stubdata/output/jats_iop_no_orcid_tag.json
    	modified:   tests/stubdata/output/jats_iop_preprint_in_record.json
    	modified:   tests/stubdata/output/jats_mnras_493_1_141.json
    	modified:   tests/stubdata/output/jats_phrvd_106_023001.json
    	modified:   tests/stubdata/output/jats_pnas_1715554115.json
    	modified:   tests/stubdata/output/jats_spie_opten_1.OE.62.4.048103.json
    	modified:   tests/stubdata/output/jats_spie_opten_1.OE.62.4.066101.json
    	modified:   tests/stubdata/output/jats_spie_spie_12.2690579.json
    	modified:   tests/stubdata/output/jats_springer_EPJC_s10052-023-11699-1.json
    	modified:   tests/stubdata/output/jats_springer_EPJC_s10052-023-11733-2.json
    	modified:   tests/stubdata/output/jats_springer_NatCo_s41467-023-40272-3.json
    	modified:   tests/stubdata/output/jats_springer_Natur_s41598-023-38673-x.json
    	modified:   tests/stubdata/output/jats_springer_ZaMP_s00033-023-02064-z.json
    	modified:   tests/stubdata/output/wiley_jgra_12057.json
    	modified:   tests/stubdata/output/wiley_jgra_57392.json
    	modified:   tests/stubdata/output/wiley_swe_21103.json
    	modified:   tests/stubdata/output/wiley_swe_461.json
    	modified:   tests/stubdata/output/wiley_swe_539.json
    	modified:   tests/stubdata/output/zenodo_test.json
    	modified:   tests/stubdata/output/zenodo_test2.json
    	modified:   tests/stubdata/output/zenodo_test3.json
    	modified:   tests/stubdata/output/zenodo_test4.json
    seasidesparrow committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    711ec36 View commit details
    Browse the repository at this point in the history
  3. Added more mathml tags, updated unit test output

     	modified:   adsingestp/parsers/base.py
     	modified:   tests/stubdata/output/els_detag_example_2.json
     	modified:   tests/stubdata/output/jats_springer_EPJC_s10052-023-11699-1.json
     	modified:   tests/stubdata/output/jats_springer_JHEP_JHEP07_2023_200.json
     	modified:   tests/stubdata/output/jats_springer_ZaMP_s00033-023-02064-z.json
     	modified:   tests/test_elsevier.py
    seasidesparrow committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    f7fa30a View commit details
    Browse the repository at this point in the history
  4. Adding untested cases to tests with stubdata

     	new file:   tests/stubdata/output/jats_aps_phrvd_100_052015.json
     	new file:   tests/stubdata/output/jats_aps_phrvx_12_021031.json
     	new file:   tests/stubdata/output/jats_edp_aa_661_70.json
     	new file:   tests/stubdata/output/jats_edp_jnwpu_40_96.json
     	new file:   tests/stubdata/output/jats_iop_jinst_17_05_P05009.json
     	new file:   tests/stubdata/output/jats_nature_natsd_12_7375.json
     	new file:   tests/stubdata/output/jats_pnas_119_2201344119.json
     	new file:   tests/stubdata/output/jats_springer_cldy_84_1543.json
     	new file:   tests/stubdata/output/jats_springer_jhep_2022_05_05.json
     	new file:   tests/stubdata/output/mdpi_climate-11-00147.json
     	new file:   tests/stubdata/output/mdpi_galaxies-11-00090.json
     	new file:   tests/stubdata/output/mdpi_symmetry-15-00939.json
     	new file:   tests/stubdata/output/mdpi_universe-08-00651.json
     	new file:   tests/stubdata/output/nlm_tf_gapfd_116_38.json
     	modified:   tests/test_elsevier.py
     	modified:   tests/test_jats.py
    seasidesparrow committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    03fb9ba View commit details
    Browse the repository at this point in the history
  5. Removing commented-out logging blocks from tests

     	modified:   tests/test_datacite.py
     	modified:   tests/test_wiley.py
    seasidesparrow committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    4f6e7bc View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Fix for elsevier with nested author groups

     	modified:   adsingestp/parsers/elsevier.py
     	new file:   tests/stubdata/input/els_phlb_compound_affil.xml
     	new file:   tests/stubdata/output/els_phlb_compound_affil.json
     	modified:   tests/test_elsevier.py
    seasidesparrow committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    918b718 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Affs need to have all sources, not one or the other

     	modified:   adsingestp/parsers/elsevier.py
    seasidesparrow committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    8e8759e View commit details
    Browse the repository at this point in the history
  2. Mod correctly captures affils for other test cases

     	modified:   adsingestp/parsers/elsevier.py
     	modified:   tests/stubdata/input/els_phlb_compound_affil.xml
     	modified:   tests/stubdata/output/els_book_review.json
     	modified:   tests/stubdata/output/els_phlb_compound_affil.json
     	modified:   tests/stubdata/output/els_simple_article_3.json
     	modified:   tests/stubdata/output/els_simple_article_4.json
    seasidesparrow committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    db22840 View commit details
    Browse the repository at this point in the history
  3. Case of coverDisplayDate of "month1-month2 year"

     	modified:   adsingestp/parsers/elsevier.py
     	new file:   tests/stubdata/input/els_odd_cover_date.xml
     	new file:   tests/stubdata/output/els_odd_cover_date.json
     	modified:   tests/test_elsevier.py
    seasidesparrow committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    a27c5a7 View commit details
    Browse the repository at this point in the history
  4. Fix linter issue

     	modified:   tests/stubdata/input/els_odd_cover_date.xml
    seasidesparrow committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    06d2394 View commit details
    Browse the repository at this point in the history