From f3edd7ebade967cbf315b52fb1fc09faf4f48ea3 Mon Sep 17 00:00:00 2001 From: ivanhb Date: Mon, 25 Mar 2024 13:51:59 +0100 Subject: [PATCH] scripts doc updated --- .github/workflows/python-package.yml | 0 .gitignore | 0 .vscode/settings.json | 0 LICENSE | 0 Makefile | 0 README.md | 0 USAGE.md | 0 config.ini | 0 index/cpp/.gitignore | 0 index/cpp/include/StringHasher.hpp | 0 index/cpp/lib/BooPHF.h | 0 index/cpp/src/build.cpp | 0 index/cpp/src/lookup.cpp | 0 index/python/.gitignore | 0 index/python/requirements.txt | 0 index/python/src/__init__.py | 0 index/python/src/finder/__init__.py | 0 index/python/src/finder/base.py | 0 index/python/src/finder/crossref.py | 0 index/python/src/finder/datacite.py | 0 index/python/src/finder/nih.py | 0 index/python/src/finder/ocmeta.py | 0 index/python/src/finder/orcid.py | 0 index/python/src/glob/__init__.py | 0 index/python/src/glob/csv.py | 0 index/python/src/glob/datasource.py | 0 index/python/src/glob/redis.py | 0 index/python/src/identifier/__init__.py | 0 index/python/src/identifier/base.py | 0 index/python/src/identifier/doi.py | 0 index/python/src/identifier/issn.py | 0 index/python/src/identifier/omid.py | 0 index/python/src/identifier/orcid.py | 0 index/python/src/identifier/pmid.py | 0 index/python/src/legacy/__init__.py | 0 index/python/src/legacy/csv.py | 0 index/python/src/oci/__init__.py | 0 index/python/src/oci/citation.py | 0 index/python/src/oci/storer.py | 0 index/python/src/oci/update.py | 0 index/python/src/parsing/__init__.py | 0 index/python/src/parsing/base.py | 0 index/python/src/parsing/crossref.py | 0 index/python/src/parsing/crowdsourced.py | 0 index/python/src/parsing/datacite.py | 0 index/python/src/parsing/index.py | 0 index/python/src/parsing/nih.py | 0 index/python/src/parsing/scholix.py | 0 index/python/src/preprocessing/__init__.py | 0 index/python/src/preprocessing/base.py | 0 index/python/src/preprocessing/datacite.py | 0 index/python/src/preprocessing/pubmed.py | 0 index/python/src/utils/__init__.py | 0 index/python/src/utils/config.py | 0 index/python/src/utils/dictionary.py | 0 index/python/src/utils/logging.py | 0 index/python/src/validate/__init__.py | 0 index/python/src/validate/base.py | 0 index/python/src/validate/crossref.py | 0 index/python/src/validate/datacite.py | 0 index/python/src/validate/index.py | 0 index/python/src/validate/nih.py | 0 index/python/test/__init__.py | 0 index/python/test/data/citations_data.csv | 0 index/python/test/data/citations_data.ttl | 0 .../test/data/citations_data_prov.scholix | 0 index/python/test/data/citations_prov.csv | 0 index/python/test/data/citations_prov.ttl | 0 index/python/test/data/coci_validate/0.json | 0 index/python/test/data/croci_citations.csv | 0 index/python/test/data/croci_dump.csv | 0 index/python/test/data/crossref_citations.csv | 0 index/python/test/data/crossref_dump.json | 0 .../crossref_glob_dump_input/crossref_dump.json | 0 index/python/test/data/doci_citations.csv | 0 index/python/test/data/doci_dump.csv | 0 .../data/doci_glob_dump_input/doci_dump.json | 0 .../data/doci_pp_dump_input/doci_pp_dump.json | 0 index/python/test/data/doci_validate/0.csv | 0 index/python/test/data/glob.json | 0 .../glob_test_dir/globtest_coci/__init__.py | 0 .../glob_test_dir/globtest_doci/__init__.py | 0 .../glob_test_dir/globtest_noci/__init__.py | 0 index/python/test/data/initial_data.csv | 0 index/python/test/data/lookup_full.csv | 0 index/python/test/data/lookup_new.csv | 0 index/python/test/data/noci_citations.csv | 0 index/python/test/data/noci_dump.csv | 0 .../data/noci_glob_dump_input/CSVFile_1.csv | 0 .../noci_glob_dump_output_broken/CSVFile_1.csv | 0 .../noci_index_dump_output_broken/CSVFile_1.csv | 0 .../noci_md_pp_dump_input/CSVFile_1_iCiteMD.csv | 0 .../test/data/noci_pp_dump_input/CSVFile_1.csv | 0 .../noci_pp_dump_input_reduced/CSVFile_1.csv | 0 index/python/test/data/noci_validate/0.csv | 0 .../poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv | 0 .../preprocess/data_datacite/dc_pp_input.json | 0 .../data_datacite_sample/dc_pp_input.json | 0 .../data_datacite_sample/dc_pp_input2.json | 0 .../data/preprocess/data_nih/metadata_input.csv | 0 .../test/data/preprocess/dc_pp_input.json.zst | Bin .../dc_pp_input.json | 0 .../dc_pp_inputdecompr_zst_dir/dc_pp_input.json | 0 .../duplicate_check.csv | 0 .../poci_glob_dump_output_broken/CSVFile_1.csv | 0 .../poci_index_dump_output_broken/CSVFile_1.csv | 0 .../poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv | 0 .../preprocess/poci_pp_dump_input/CSVFile_1.csv | 0 .../poci_pp_dump_input_reduced/CSVFile_1.csv | 0 .../tmp_data_datacite_broken/jSonFile_1.json | 0 .../tmp_data_datacite_c_broken/jSonFile_1.json | 0 .../duplicate_check.csv | 0 index/python/test/test_coci.py | 0 index/python/test/test_croci.py | 0 index/python/test/test_csv.py | 0 index/python/test/test_doci.py | 0 index/python/test/test_finder.py | 0 index/python/test/test_glob.py | 0 index/python/test/test_identifier.py | 0 index/python/test/test_noci.py | 0 index/python/test/test_oci.py | 0 .../python/test/test_preprocessing_datacite.py | 0 index/python/test/test_preprocessing_pubmed.py | 0 index/python/test/test_storer.py | 0 index/python/test/test_validate.py | 0 lookup.csv | 0 scripts/OLD_cnc.py | 0 scripts/__get_missing_cits.py | 0 scripts/__init__.py | 0 scripts/calc_stats.py | 0 scripts/check_entities.py | 0 scripts/citation_count_converter.py | 0 scripts/cits2redis.py | 0 scripts/cnc.py | 0 scripts/datasource.py | 0 scripts/edit_rdf.py | 0 scripts/export_redis_db.py | 0 scripts/fix_dump.py | 0 scripts/glob_crossref.py | 0 scripts/glob_doci.py | 0 scripts/glob_noci.py | 0 scripts/import_redis_db.py | 16 ++++++++++++---- scripts/meta2redis.py | 0 scripts/metadata_crossref.py | 0 scripts/norm.py | 0 scripts/oci.py | 0 scripts/trim_crossref.py | 0 scripts/validate_citations.py | 0 setup.py | 0 149 files changed, 12 insertions(+), 4 deletions(-) mode change 100644 => 100755 .github/workflows/python-package.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .vscode/settings.json mode change 100644 => 100755 LICENSE mode change 100644 => 100755 Makefile mode change 100644 => 100755 README.md mode change 100644 => 100755 USAGE.md mode change 100644 => 100755 config.ini mode change 100644 => 100755 index/cpp/.gitignore mode change 100644 => 100755 index/cpp/include/StringHasher.hpp mode change 100644 => 100755 index/cpp/lib/BooPHF.h mode change 100644 => 100755 index/cpp/src/build.cpp mode change 100644 => 100755 index/cpp/src/lookup.cpp mode change 100644 => 100755 index/python/.gitignore mode change 100644 => 100755 index/python/requirements.txt mode change 100644 => 100755 index/python/src/__init__.py mode change 100644 => 100755 index/python/src/finder/__init__.py mode change 100644 => 100755 index/python/src/finder/base.py mode change 100644 => 100755 index/python/src/finder/crossref.py mode change 100644 => 100755 index/python/src/finder/datacite.py mode change 100644 => 100755 index/python/src/finder/nih.py mode change 100644 => 100755 index/python/src/finder/ocmeta.py mode change 100644 => 100755 index/python/src/finder/orcid.py mode change 100644 => 100755 index/python/src/glob/__init__.py mode change 100644 => 100755 index/python/src/glob/csv.py mode change 100644 => 100755 index/python/src/glob/datasource.py mode change 100644 => 100755 index/python/src/glob/redis.py mode change 100644 => 100755 index/python/src/identifier/__init__.py mode change 100644 => 100755 index/python/src/identifier/base.py mode change 100644 => 100755 index/python/src/identifier/doi.py mode change 100644 => 100755 index/python/src/identifier/issn.py mode change 100644 => 100755 index/python/src/identifier/omid.py mode change 100644 => 100755 index/python/src/identifier/orcid.py mode change 100644 => 100755 index/python/src/identifier/pmid.py mode change 100644 => 100755 index/python/src/legacy/__init__.py mode change 100644 => 100755 index/python/src/legacy/csv.py mode change 100644 => 100755 index/python/src/oci/__init__.py mode change 100644 => 100755 index/python/src/oci/citation.py mode change 100644 => 100755 index/python/src/oci/storer.py mode change 100644 => 100755 index/python/src/oci/update.py mode change 100644 => 100755 index/python/src/parsing/__init__.py mode change 100644 => 100755 index/python/src/parsing/base.py mode change 100644 => 100755 index/python/src/parsing/crossref.py mode change 100644 => 100755 index/python/src/parsing/crowdsourced.py mode change 100644 => 100755 index/python/src/parsing/datacite.py mode change 100644 => 100755 index/python/src/parsing/index.py mode change 100644 => 100755 index/python/src/parsing/nih.py mode change 100644 => 100755 index/python/src/parsing/scholix.py mode change 100644 => 100755 index/python/src/preprocessing/__init__.py mode change 100644 => 100755 index/python/src/preprocessing/base.py mode change 100644 => 100755 index/python/src/preprocessing/datacite.py mode change 100644 => 100755 index/python/src/preprocessing/pubmed.py mode change 100644 => 100755 index/python/src/utils/__init__.py mode change 100644 => 100755 index/python/src/utils/config.py mode change 100644 => 100755 index/python/src/utils/dictionary.py mode change 100644 => 100755 index/python/src/utils/logging.py mode change 100644 => 100755 index/python/src/validate/__init__.py mode change 100644 => 100755 index/python/src/validate/base.py mode change 100644 => 100755 index/python/src/validate/crossref.py mode change 100644 => 100755 index/python/src/validate/datacite.py mode change 100644 => 100755 index/python/src/validate/index.py mode change 100644 => 100755 index/python/src/validate/nih.py mode change 100644 => 100755 index/python/test/__init__.py mode change 100644 => 100755 index/python/test/data/citations_data.csv mode change 100644 => 100755 index/python/test/data/citations_data.ttl mode change 100644 => 100755 index/python/test/data/citations_data_prov.scholix mode change 100644 => 100755 index/python/test/data/citations_prov.csv mode change 100644 => 100755 index/python/test/data/citations_prov.ttl mode change 100644 => 100755 index/python/test/data/coci_validate/0.json mode change 100644 => 100755 index/python/test/data/croci_citations.csv mode change 100644 => 100755 index/python/test/data/croci_dump.csv mode change 100644 => 100755 index/python/test/data/crossref_citations.csv mode change 100644 => 100755 index/python/test/data/crossref_dump.json mode change 100644 => 100755 index/python/test/data/crossref_glob_dump_input/crossref_dump.json mode change 100644 => 100755 index/python/test/data/doci_citations.csv mode change 100644 => 100755 index/python/test/data/doci_dump.csv mode change 100644 => 100755 index/python/test/data/doci_glob_dump_input/doci_dump.json mode change 100644 => 100755 index/python/test/data/doci_pp_dump_input/doci_pp_dump.json mode change 100644 => 100755 index/python/test/data/doci_validate/0.csv mode change 100644 => 100755 index/python/test/data/glob.json mode change 100644 => 100755 index/python/test/data/glob_test_dir/globtest_coci/__init__.py mode change 100644 => 100755 index/python/test/data/glob_test_dir/globtest_doci/__init__.py mode change 100644 => 100755 index/python/test/data/glob_test_dir/globtest_noci/__init__.py mode change 100644 => 100755 index/python/test/data/initial_data.csv mode change 100644 => 100755 index/python/test/data/lookup_full.csv mode change 100644 => 100755 index/python/test/data/lookup_new.csv mode change 100644 => 100755 index/python/test/data/noci_citations.csv mode change 100644 => 100755 index/python/test/data/noci_dump.csv mode change 100644 => 100755 index/python/test/data/noci_glob_dump_input/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/noci_glob_dump_output_broken/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/noci_index_dump_output_broken/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/noci_md_pp_dump_input/CSVFile_1_iCiteMD.csv mode change 100644 => 100755 index/python/test/data/noci_pp_dump_input/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/noci_pp_dump_input_reduced/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/noci_validate/0.csv mode change 100644 => 100755 index/python/test/data/poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv mode change 100644 => 100755 index/python/test/data/preprocess/data_datacite/dc_pp_input.json mode change 100644 => 100755 index/python/test/data/preprocess/data_datacite_sample/dc_pp_input.json mode change 100644 => 100755 index/python/test/data/preprocess/data_datacite_sample/dc_pp_input2.json mode change 100644 => 100755 index/python/test/data/preprocess/data_nih/metadata_input.csv mode change 100644 => 100755 index/python/test/data/preprocess/dc_pp_input.json.zst mode change 100644 => 100755 index/python/test/data/preprocess/dc_pp_input_decompr_zst_dir/dc_pp_input.json mode change 100644 => 100755 index/python/test/data/preprocess/dc_pp_inputdecompr_zst_dir/dc_pp_input.json mode change 100644 => 100755 index/python/test/data/preprocess/poci_csv_duplicate_check/duplicate_check.csv mode change 100644 => 100755 index/python/test/data/preprocess/poci_glob_dump_output_broken/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/preprocess/poci_index_dump_output_broken/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/preprocess/poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv mode change 100644 => 100755 index/python/test/data/preprocess/poci_pp_dump_input/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/preprocess/poci_pp_dump_input_reduced/CSVFile_1.csv mode change 100644 => 100755 index/python/test/data/preprocess/tmp_data_datacite_broken/jSonFile_1.json mode change 100644 => 100755 index/python/test/data/preprocess/tmp_data_datacite_c_broken/jSonFile_1.json mode change 100644 => 100755 index/python/test/data/preprocess/tmp_data_datacite_cit2_citations/duplicate_check.csv mode change 100644 => 100755 index/python/test/test_coci.py mode change 100644 => 100755 index/python/test/test_croci.py mode change 100644 => 100755 index/python/test/test_csv.py mode change 100644 => 100755 index/python/test/test_doci.py mode change 100644 => 100755 index/python/test/test_finder.py mode change 100644 => 100755 index/python/test/test_glob.py mode change 100644 => 100755 index/python/test/test_identifier.py mode change 100644 => 100755 index/python/test/test_noci.py mode change 100644 => 100755 index/python/test/test_oci.py mode change 100644 => 100755 index/python/test/test_preprocessing_datacite.py mode change 100644 => 100755 index/python/test/test_preprocessing_pubmed.py mode change 100644 => 100755 index/python/test/test_storer.py mode change 100644 => 100755 index/python/test/test_validate.py mode change 100644 => 100755 lookup.csv mode change 100644 => 100755 scripts/OLD_cnc.py mode change 100644 => 100755 scripts/__get_missing_cits.py mode change 100644 => 100755 scripts/__init__.py mode change 100644 => 100755 scripts/calc_stats.py mode change 100644 => 100755 scripts/check_entities.py mode change 100644 => 100755 scripts/citation_count_converter.py mode change 100644 => 100755 scripts/cits2redis.py mode change 100644 => 100755 scripts/cnc.py mode change 100644 => 100755 scripts/datasource.py mode change 100644 => 100755 scripts/edit_rdf.py mode change 100644 => 100755 scripts/export_redis_db.py mode change 100644 => 100755 scripts/fix_dump.py mode change 100644 => 100755 scripts/glob_crossref.py mode change 100644 => 100755 scripts/glob_doci.py mode change 100644 => 100755 scripts/glob_noci.py mode change 100644 => 100755 scripts/import_redis_db.py mode change 100644 => 100755 scripts/meta2redis.py mode change 100644 => 100755 scripts/metadata_crossref.py mode change 100644 => 100755 scripts/norm.py mode change 100644 => 100755 scripts/oci.py mode change 100644 => 100755 scripts/trim_crossref.py mode change 100644 => 100755 scripts/validate_citations.py mode change 100644 => 100755 setup.py diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.vscode/settings.json b/.vscode/settings.json old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/USAGE.md b/USAGE.md old mode 100644 new mode 100755 diff --git a/config.ini b/config.ini old mode 100644 new mode 100755 diff --git a/index/cpp/.gitignore b/index/cpp/.gitignore old mode 100644 new mode 100755 diff --git a/index/cpp/include/StringHasher.hpp b/index/cpp/include/StringHasher.hpp old mode 100644 new mode 100755 diff --git a/index/cpp/lib/BooPHF.h b/index/cpp/lib/BooPHF.h old mode 100644 new mode 100755 diff --git a/index/cpp/src/build.cpp b/index/cpp/src/build.cpp old mode 100644 new mode 100755 diff --git a/index/cpp/src/lookup.cpp b/index/cpp/src/lookup.cpp old mode 100644 new mode 100755 diff --git a/index/python/.gitignore b/index/python/.gitignore old mode 100644 new mode 100755 diff --git a/index/python/requirements.txt b/index/python/requirements.txt old mode 100644 new mode 100755 diff --git a/index/python/src/__init__.py b/index/python/src/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/__init__.py b/index/python/src/finder/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/base.py b/index/python/src/finder/base.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/crossref.py b/index/python/src/finder/crossref.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/datacite.py b/index/python/src/finder/datacite.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/nih.py b/index/python/src/finder/nih.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/ocmeta.py b/index/python/src/finder/ocmeta.py old mode 100644 new mode 100755 diff --git a/index/python/src/finder/orcid.py b/index/python/src/finder/orcid.py old mode 100644 new mode 100755 diff --git a/index/python/src/glob/__init__.py b/index/python/src/glob/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/glob/csv.py b/index/python/src/glob/csv.py old mode 100644 new mode 100755 diff --git a/index/python/src/glob/datasource.py b/index/python/src/glob/datasource.py old mode 100644 new mode 100755 diff --git a/index/python/src/glob/redis.py b/index/python/src/glob/redis.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/__init__.py b/index/python/src/identifier/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/base.py b/index/python/src/identifier/base.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/doi.py b/index/python/src/identifier/doi.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/issn.py b/index/python/src/identifier/issn.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/omid.py b/index/python/src/identifier/omid.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/orcid.py b/index/python/src/identifier/orcid.py old mode 100644 new mode 100755 diff --git a/index/python/src/identifier/pmid.py b/index/python/src/identifier/pmid.py old mode 100644 new mode 100755 diff --git a/index/python/src/legacy/__init__.py b/index/python/src/legacy/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/legacy/csv.py b/index/python/src/legacy/csv.py old mode 100644 new mode 100755 diff --git a/index/python/src/oci/__init__.py b/index/python/src/oci/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/oci/citation.py b/index/python/src/oci/citation.py old mode 100644 new mode 100755 diff --git a/index/python/src/oci/storer.py b/index/python/src/oci/storer.py old mode 100644 new mode 100755 diff --git a/index/python/src/oci/update.py b/index/python/src/oci/update.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/__init__.py b/index/python/src/parsing/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/base.py b/index/python/src/parsing/base.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/crossref.py b/index/python/src/parsing/crossref.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/crowdsourced.py b/index/python/src/parsing/crowdsourced.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/datacite.py b/index/python/src/parsing/datacite.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/index.py b/index/python/src/parsing/index.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/nih.py b/index/python/src/parsing/nih.py old mode 100644 new mode 100755 diff --git a/index/python/src/parsing/scholix.py b/index/python/src/parsing/scholix.py old mode 100644 new mode 100755 diff --git a/index/python/src/preprocessing/__init__.py b/index/python/src/preprocessing/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/preprocessing/base.py b/index/python/src/preprocessing/base.py old mode 100644 new mode 100755 diff --git a/index/python/src/preprocessing/datacite.py b/index/python/src/preprocessing/datacite.py old mode 100644 new mode 100755 diff --git a/index/python/src/preprocessing/pubmed.py b/index/python/src/preprocessing/pubmed.py old mode 100644 new mode 100755 diff --git a/index/python/src/utils/__init__.py b/index/python/src/utils/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/utils/config.py b/index/python/src/utils/config.py old mode 100644 new mode 100755 diff --git a/index/python/src/utils/dictionary.py b/index/python/src/utils/dictionary.py old mode 100644 new mode 100755 diff --git a/index/python/src/utils/logging.py b/index/python/src/utils/logging.py old mode 100644 new mode 100755 diff --git a/index/python/src/validate/__init__.py b/index/python/src/validate/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/src/validate/base.py b/index/python/src/validate/base.py old mode 100644 new mode 100755 diff --git a/index/python/src/validate/crossref.py b/index/python/src/validate/crossref.py old mode 100644 new mode 100755 diff --git a/index/python/src/validate/datacite.py b/index/python/src/validate/datacite.py old mode 100644 new mode 100755 diff --git a/index/python/src/validate/index.py b/index/python/src/validate/index.py old mode 100644 new mode 100755 diff --git a/index/python/src/validate/nih.py b/index/python/src/validate/nih.py old mode 100644 new mode 100755 diff --git a/index/python/test/__init__.py b/index/python/test/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/test/data/citations_data.csv b/index/python/test/data/citations_data.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/citations_data.ttl b/index/python/test/data/citations_data.ttl old mode 100644 new mode 100755 diff --git a/index/python/test/data/citations_data_prov.scholix b/index/python/test/data/citations_data_prov.scholix old mode 100644 new mode 100755 diff --git a/index/python/test/data/citations_prov.csv b/index/python/test/data/citations_prov.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/citations_prov.ttl b/index/python/test/data/citations_prov.ttl old mode 100644 new mode 100755 diff --git a/index/python/test/data/coci_validate/0.json b/index/python/test/data/coci_validate/0.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/croci_citations.csv b/index/python/test/data/croci_citations.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/croci_dump.csv b/index/python/test/data/croci_dump.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/crossref_citations.csv b/index/python/test/data/crossref_citations.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/crossref_dump.json b/index/python/test/data/crossref_dump.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/crossref_glob_dump_input/crossref_dump.json b/index/python/test/data/crossref_glob_dump_input/crossref_dump.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/doci_citations.csv b/index/python/test/data/doci_citations.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/doci_dump.csv b/index/python/test/data/doci_dump.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/doci_glob_dump_input/doci_dump.json b/index/python/test/data/doci_glob_dump_input/doci_dump.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/doci_pp_dump_input/doci_pp_dump.json b/index/python/test/data/doci_pp_dump_input/doci_pp_dump.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/doci_validate/0.csv b/index/python/test/data/doci_validate/0.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/glob.json b/index/python/test/data/glob.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/glob_test_dir/globtest_coci/__init__.py b/index/python/test/data/glob_test_dir/globtest_coci/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/test/data/glob_test_dir/globtest_doci/__init__.py b/index/python/test/data/glob_test_dir/globtest_doci/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/test/data/glob_test_dir/globtest_noci/__init__.py b/index/python/test/data/glob_test_dir/globtest_noci/__init__.py old mode 100644 new mode 100755 diff --git a/index/python/test/data/initial_data.csv b/index/python/test/data/initial_data.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/lookup_full.csv b/index/python/test/data/lookup_full.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/lookup_new.csv b/index/python/test/data/lookup_new.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_citations.csv b/index/python/test/data/noci_citations.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_dump.csv b/index/python/test/data/noci_dump.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_glob_dump_input/CSVFile_1.csv b/index/python/test/data/noci_glob_dump_input/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_glob_dump_output_broken/CSVFile_1.csv b/index/python/test/data/noci_glob_dump_output_broken/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_index_dump_output_broken/CSVFile_1.csv b/index/python/test/data/noci_index_dump_output_broken/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_md_pp_dump_input/CSVFile_1_iCiteMD.csv b/index/python/test/data/noci_md_pp_dump_input/CSVFile_1_iCiteMD.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_pp_dump_input/CSVFile_1.csv b/index/python/test/data/noci_pp_dump_input/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_pp_dump_input_reduced/CSVFile_1.csv b/index/python/test/data/noci_pp_dump_input_reduced/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/noci_validate/0.csv b/index/python/test/data/noci_validate/0.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv b/index/python/test/data/poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/data_datacite/dc_pp_input.json b/index/python/test/data/preprocess/data_datacite/dc_pp_input.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/data_datacite_sample/dc_pp_input.json b/index/python/test/data/preprocess/data_datacite_sample/dc_pp_input.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/data_datacite_sample/dc_pp_input2.json b/index/python/test/data/preprocess/data_datacite_sample/dc_pp_input2.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/data_nih/metadata_input.csv b/index/python/test/data/preprocess/data_nih/metadata_input.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/dc_pp_input.json.zst b/index/python/test/data/preprocess/dc_pp_input.json.zst old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/dc_pp_input_decompr_zst_dir/dc_pp_input.json b/index/python/test/data/preprocess/dc_pp_input_decompr_zst_dir/dc_pp_input.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/dc_pp_inputdecompr_zst_dir/dc_pp_input.json b/index/python/test/data/preprocess/dc_pp_inputdecompr_zst_dir/dc_pp_input.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/poci_csv_duplicate_check/duplicate_check.csv b/index/python/test/data/preprocess/poci_csv_duplicate_check/duplicate_check.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/poci_glob_dump_output_broken/CSVFile_1.csv b/index/python/test/data/preprocess/poci_glob_dump_output_broken/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/poci_index_dump_output_broken/CSVFile_1.csv b/index/python/test/data/preprocess/poci_index_dump_output_broken/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv b/index/python/test/data/preprocess/poci_md_pp_dump_input/CSVFile_1_iCiteMD.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/poci_pp_dump_input/CSVFile_1.csv b/index/python/test/data/preprocess/poci_pp_dump_input/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/poci_pp_dump_input_reduced/CSVFile_1.csv b/index/python/test/data/preprocess/poci_pp_dump_input_reduced/CSVFile_1.csv old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/tmp_data_datacite_broken/jSonFile_1.json b/index/python/test/data/preprocess/tmp_data_datacite_broken/jSonFile_1.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/tmp_data_datacite_c_broken/jSonFile_1.json b/index/python/test/data/preprocess/tmp_data_datacite_c_broken/jSonFile_1.json old mode 100644 new mode 100755 diff --git a/index/python/test/data/preprocess/tmp_data_datacite_cit2_citations/duplicate_check.csv b/index/python/test/data/preprocess/tmp_data_datacite_cit2_citations/duplicate_check.csv old mode 100644 new mode 100755 diff --git a/index/python/test/test_coci.py b/index/python/test/test_coci.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_croci.py b/index/python/test/test_croci.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_csv.py b/index/python/test/test_csv.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_doci.py b/index/python/test/test_doci.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_finder.py b/index/python/test/test_finder.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_glob.py b/index/python/test/test_glob.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_identifier.py b/index/python/test/test_identifier.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_noci.py b/index/python/test/test_noci.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_oci.py b/index/python/test/test_oci.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_preprocessing_datacite.py b/index/python/test/test_preprocessing_datacite.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_preprocessing_pubmed.py b/index/python/test/test_preprocessing_pubmed.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_storer.py b/index/python/test/test_storer.py old mode 100644 new mode 100755 diff --git a/index/python/test/test_validate.py b/index/python/test/test_validate.py old mode 100644 new mode 100755 diff --git a/lookup.csv b/lookup.csv old mode 100644 new mode 100755 diff --git a/scripts/OLD_cnc.py b/scripts/OLD_cnc.py old mode 100644 new mode 100755 diff --git a/scripts/__get_missing_cits.py b/scripts/__get_missing_cits.py old mode 100644 new mode 100755 diff --git a/scripts/__init__.py b/scripts/__init__.py old mode 100644 new mode 100755 diff --git a/scripts/calc_stats.py b/scripts/calc_stats.py old mode 100644 new mode 100755 diff --git a/scripts/check_entities.py b/scripts/check_entities.py old mode 100644 new mode 100755 diff --git a/scripts/citation_count_converter.py b/scripts/citation_count_converter.py old mode 100644 new mode 100755 diff --git a/scripts/cits2redis.py b/scripts/cits2redis.py old mode 100644 new mode 100755 diff --git a/scripts/cnc.py b/scripts/cnc.py old mode 100644 new mode 100755 diff --git a/scripts/datasource.py b/scripts/datasource.py old mode 100644 new mode 100755 diff --git a/scripts/edit_rdf.py b/scripts/edit_rdf.py old mode 100644 new mode 100755 diff --git a/scripts/export_redis_db.py b/scripts/export_redis_db.py old mode 100644 new mode 100755 diff --git a/scripts/fix_dump.py b/scripts/fix_dump.py old mode 100644 new mode 100755 diff --git a/scripts/glob_crossref.py b/scripts/glob_crossref.py old mode 100644 new mode 100755 diff --git a/scripts/glob_doci.py b/scripts/glob_doci.py old mode 100644 new mode 100755 diff --git a/scripts/glob_noci.py b/scripts/glob_noci.py old mode 100644 new mode 100755 diff --git a/scripts/import_redis_db.py b/scripts/import_redis_db.py old mode 100644 new mode 100755 index d2acf3c..4db7c70 --- a/scripts/import_redis_db.py +++ b/scripts/import_redis_db.py @@ -9,15 +9,23 @@ parser.add_argument('--key', type=str, required=True,help='column (i.e. number of column) to use as key in redis') parser.add_argument('--value', type=str, required=True,help='column (i.e. number of column) to use as value in redis') -# The following example add the names as keys and the ages aas values into the DB=0 of Redis -# ****************** +# ****************** ****************** + +# Having a CSV file (file.csv) containing something like this: +# james,32 +# nicolas,44 +# david,14 +# ... + +# Then the following call adds the names as keys and the ages as values into DB=0 of Redis # --db 0 # --in file.csv > -# "james,32 -# nicolas,44" # --key 0 # --value 1 +# ****************** ****************** + + args = parser.parse_args() r_db = Redis(host="localhost", port="6379", db=args.db) diff --git a/scripts/meta2redis.py b/scripts/meta2redis.py old mode 100644 new mode 100755 diff --git a/scripts/metadata_crossref.py b/scripts/metadata_crossref.py old mode 100644 new mode 100755 diff --git a/scripts/norm.py b/scripts/norm.py old mode 100644 new mode 100755 diff --git a/scripts/oci.py b/scripts/oci.py old mode 100644 new mode 100755 diff --git a/scripts/trim_crossref.py b/scripts/trim_crossref.py old mode 100644 new mode 100755 diff --git a/scripts/validate_citations.py b/scripts/validate_citations.py old mode 100644 new mode 100755 diff --git a/setup.py b/setup.py old mode 100644 new mode 100755