nmdc-runtime 2.0.1__tar.gz → 2.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nmdc-runtime might be problematic. Click here for more details.
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.env.example +3 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.env.test +3 -1
- nmdc_runtime-2.1.1/.github/pull_request_template.md +108 -0
- {nmdc_runtime-2.0.1/nmdc_runtime.egg-info → nmdc_runtime-2.1.1}/PKG-INFO +4 -2
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/README.md +3 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/.notebook.env.example +6 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/helpers.py +119 -4
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_10_9_1_to_11_0_0.ipynb +96 -102
- nmdc_runtime-2.1.1/demo/metadata_migration/notebooks/migrate_11_0_3_to_11_1_0.ipynb +880 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/requirements.txt +1 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/test_helpers.py +61 -18
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docker-compose.test.yml +0 -2
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docker-compose.yml +0 -2
- nmdc_runtime-2.1.1/docs/img/exporters-dagit.png +0 -0
- nmdc_runtime-2.1.1/docs/img/translators-dagit.png +0 -0
- nmdc_runtime-2.1.1/docs/tutorials/exporters.md +27 -0
- nmdc_runtime-2.1.1/docs/tutorials/translators.md +42 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/mkdocs.yml +2 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/core/auth.py +1 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/core/metadata.py +4 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/find.py +75 -25
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/nmdcschema.py +11 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/queries.py +40 -3
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/user.py +30 -4
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/ops.py +1 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/gold_translator.py +11 -5
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/submission_portal_translator.py +18 -4
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/translator.py +9 -2
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1/nmdc_runtime.egg-info}/PKG-INFO +4 -2
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime.egg-info/SOURCES.txt +8 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/requirements/dev.txt +55 -37
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/requirements/main.in +1 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/requirements/main.txt +66 -69
- nmdc_runtime-2.1.1/tests/files/nmdc_bsm-11-0pyv7738.json +53 -0
- nmdc_runtime-2.1.1/tests/files/test_changesheet_decimal_value.tsv +5 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_api/test_endpoints.py +177 -10
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_api/test_metadata.py +28 -2
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_submission_portal_translator.py +1 -1
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_submission_portal_translator_data.yaml +6 -2
- nmdc_runtime-2.1.1/tests/test_data/test_translator.py +25 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_ops/test_ops.py +2 -2
- nmdc_runtime-2.0.1/.github/pull_request_template.md +0 -37
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.dockerignore +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/workflows/build-and-release-to-spin.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/workflows/lint.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/workflows/mkdocs.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/workflows/python-app.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.github/workflows/release-to-pypi.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.gitignore +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.gitpod.Dockerfile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.gitpod.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/.nvmrc +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/LICENSE +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/Makefile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/RELEASES.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/components/nmdc_runtime/workflow/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/components/nmdc_runtime/workflow/spec.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/components/nmdc_runtime/workflow_execution_activity/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/components/nmdc_runtime/workflow_execution_activity/core.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/components/nmdc_runtime/workflow_execution_activity/spec.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/components/nmdc_runtime/workflow_execution_activity/store.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/.env.example +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/GOLDs5levelEcosystemClassificationPaths.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/biosamples.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/console_queries.dev +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/docker-compose.yml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/envo.owl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/indexing.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_discovery/po.owl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/main.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/main.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/.gitignore +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/bookkeeper.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/manual_test_bookkeeper.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_10_0_0_to_10_1_4.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_10_3_0_to_10_4_0.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_10_4_0_to_10_9_1.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_11_0_0_to_11_0_1.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_7_7_2_to_7_8_0.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_7_8_0_to_8_0_0.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_8_0_0_to_8_1_2.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_8_1_2_to_9_0_4.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_9_0_4_to_9_1_0.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_9_1_0_to_9_2_0.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_9_3_2_to_10_0_0.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/migrate_A_B_C_to_X_Y_Z.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/mongosh-scripts/restore-privileges.mongo.js +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/mongosh-scripts/revoke-privileges.mongo.js +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/stakeholders.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/admin.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/contributing-docs.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/draft.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/explanation/domain-vision-statement.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/explanation/identifiers.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/explanation/journeys.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/author-changesheets.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/claim-and-run-jobs.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/create-triggers.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/improving-search-api.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/jobs/gold-translation-etl.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/release-process.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/howto-guides/update-sensors-ops.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/auth-button.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/auth-client-id.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/auth-close-modal.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/auth-username.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/dagit-apply-changesheet-job.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/dagster-translation-gold-job.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/dagster-translation-gold-launchpad.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/dagster-translation-gold-overview.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/dagster-translation-repo-jobs.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/dagster-workspace-repo-loaded.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/job-triggering.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/list-from-collection-filter.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/list-from-collection-page-token.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/list-from-collection.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/metadata-in-dagit-runs.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/metadata-in-put-types.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/nmdc-runtime-federation.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/rancher-nmdc-runtime-dev-workloads.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/validate-json-copy-paste-execute.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/validate-json-get-one-valid.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/validate-json-response.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/validate-json-try-it-out.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/img/validate-json.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/index.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/nb/bulk_validation_referential_integrity_check.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/nb/get_data.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/nb/queue_and_trigger_data_jobs.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/nb/wf_automation.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/stylesheets/extra.css +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/tutorials/auth.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/tutorials/json.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs/tutorials/metadata-in.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/api-resource-diagram.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/api-resource-layout.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/nmdc-runtime-api-resource-diagram.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/nmdc-wfe.ttl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/redoc-static.html +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/spec.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/design/workflow-automation.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/docs_prev/index.html +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/flake.lock +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/flake.nix +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/github_secrets_to_dotenv.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/guix-manifest.scm +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/Makefile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/README.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/Froze_Core_2015_S2_0_10_7_Metab.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/MAGs_activity.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/biosample_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/changesheet-ex-01-screenshot.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/changesheet-ex-01.csv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/emsl_data_object_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/emsl_project_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/feature-set.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/ftms_nom_data_products.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/functional-annotation.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/gcms_metabolomics_data_products.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/gold_project_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/img_mg_annotation_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/img_mg_annotation_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/metagenome_annotation_activity.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/mg_assembly_activities_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/mg_assembly_data_objects_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/migs-template-cedar.schema.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/nom_analysis_activity.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/readQC_activities_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/readQC_data_objects_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/read_based_analysis_activity.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/examples/study_test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/images/nmdc-etl-workflow.drawio +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/images/nmdc-etl-workflow.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/images/nmdc-etl-workflow.svg +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/Description_MIxS_Packages_v5.docx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/GOLD-Paths-to-MIxS-ENVO-triad-mapping.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSair_20180621_GOLD_Mapping_04132020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSbuiltenv_20180621_GOLD_Mapping_04172020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShostassoc_20180621_GOLD_Mapping.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShumanassoc_20180621_GOLD_Mapping_04142020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShumangut_20180621_GOLD_Mapping_04152020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShumanoral_20180621_GOLD_Mapping_04152020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShumanskin_20180621_GOLD_Mapping_04162020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShumanvaginal_20180621_GOLD_04162020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShydrocarbCores_20180621_Mapping_GOLD.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxShydrocarbfs_20180621_v5_GOLD_Mapping.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSmatbiofilm_20180621_v5_GOLD_Mapping.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSmisc_20180621_GOLD_Mapping.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSplantassoc_20180621_v5_GOLD_Mapping.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSsediment_20180621_GOLD_Mapping_04102020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSsoil_20180621_GOLD_Mapping_04102020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSwastesludge_20180621_GOLD_Mapping_Apr-10.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/MIxSwater_20180621_GOLD_Mapping_04122020.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/Makefile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/README.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/mixs_v4.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/mapping-files/mixs_v5.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/202106_curation_updates.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/202106_workflow_execution_demo.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/202109_metadata_ingest.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/NMDC-GOLD-data-counts.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/README.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/archive/generate-gold-sample-json.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/archive/translate-30_FICUS_Proposals_Metadata_4_Emiley_Chris_11082019.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/changesheets-example.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/changesheets-testing.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-array-item-nested-attributes.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-insert.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-remove-item.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-remove-property.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-replace.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-update-pi-websites.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-with-separator1.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-without-separator1.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-without-separator2.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/changesheet-without-separator3.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/study-data1.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/study-data2.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/data/study-data3.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/ensure_biosample_set_study_id.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/ghissue_252_253_linked_samples.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/ghissue_255.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/ghissue_272.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/gold-biosample-null-value-analysis.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/gold_ids_to_igsns.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/images/EMSL-data-translation.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/images/GOLD-data-objects-translation.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/images/GOLD-study-project-biosample-translation.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/images/NMDC-jupyter-translation-workflow.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/metaP_stegen.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/metadata_db_admin.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/mongo_etl_demo.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/FICUS-projects-merged.owl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/FICUS-projects-merged.owl.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/FICUS-projects-translation.owl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/catalog-v001.xml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/gold-classification-paths-translation.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/gold-classification-paths-translation.json.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/gold-classification-paths-translation.owl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/gold-classification-paths-translation.owl.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/gold-dataset-translation.owl +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json/biosample.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json/data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json/omics_processing.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json/study.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json_2020-02-01.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json_2020-02-05.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json_2020-02-06.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json_2020-02-12.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json_2020-02-18.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/nmdc-json_2020-02-19.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/schema-test-full.txt.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/schema-test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/schema-test.txt +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/schema-test.txt.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/temp.txt +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-five-biosamples/biosample.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-five-biosamples/data_object.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-five-biosamples/project.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-five-biosamples/study.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/biosample.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/emsl_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/emsl_omics_processing.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/faa_fna_fastq_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/gold_omics_processing.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/gold_study.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline/nmdc-02.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/output/test-pipeline.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test-changesheet-with-separator.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test-changesheet-without-separator.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test-output.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test-pipeline-scratch.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test-pipeline-temp.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test-pipeline.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/test.txt +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/translate-EMSL-data.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/translate-GOLD-data-objects.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/translate-GOLD-study-project-biosample.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/notebooks/translation-pipeline.ipynb +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/align_nmdc_datatypes.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/execute_etl_pipeline.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/fix_omics_processing_json.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/data_operations.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/extract_nmdc_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/load_nmdc_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/nmdc_data_source.yaml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/nmdc_dataframes.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/nmdc_etl_class.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/lib/transform_nmdc_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/mandatory_mixs_terms.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/mandatory_mixs_terms.py.org +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/bin/validate_json.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/2020-23-12-brodie-Gs0135149-soil-metadata.csv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/2021-02-03-stegen_biosample_linking_update.csv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/2021-02-04-brodie_biosample_linking_update.csv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/2021-02-04-stegen_biosample_template.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/2021-07-02-study-changes.csv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/30_FICUS_Proposals_Metadata_4_Emiley_Chris_11082019.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/EMSL_FICUS_project_process_data_export.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/EMSL_Hess_Stegen_Blanchard_DatasetToMetagenomeMapping.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/EMSL_biosample_matches.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/FICUS - JGI-EMSL Proposal - Gold Study - ID mapping and PI.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/GOLD-soil-mixs-envo-mappings.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/GOLD-to-mixs-map.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/GOLD_Ecosystem_Classification_Paths_10152019.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/GOLD_ecosystem_classification_paths.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/JGI-EMSL-FICUS-proposals.fnl.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/NMDC-GOLD-Fields.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/README.md +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/Hess_emsl_analysis_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/Hess_metaproteomic_analysis_activities.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/Stegen_emsl_analysis_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/Stegen_metaproteomic_analysis_activities.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/metagenome_annotation_activities.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/metagenome_annotation_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/metagenome_assembly_activities.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/metagenome_assembly_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/readQC_activities.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/aim-2-workflows/readQC_data_objects.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/all_gold_fields.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/ficus_project_faa.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/ficus_project_fastq.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/ficus_project_fna.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/mixs_v5.xlsx +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/nmdc-version2.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/metadata-translation/src/data/nmdc-version5.zip +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/mkdocs_overrides/partials/source.html +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/mongoKeyFile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nersc-sshproxy.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc-wfe.html +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/analytics.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/boot/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/boot/capabilities.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/boot/object_types.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/boot/triggers.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/boot/workflows.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/core/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/core/idgen.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/core/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/db/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/db/mongo.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/db/s3.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/capabilities.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/ids.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/jobs.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/metadata.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/object_types.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/objects.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/operations.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/runs.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/search.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/sites.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/triggers.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/users.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/endpoints/workflows.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/entrypoint.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/main.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/capability.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/id.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/job.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/metadata.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/minter.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/nmdc_schema.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/object.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/object_type.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/operation.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/query.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/run.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/site.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/trigger.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/models/workflow.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/api/v1/router.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/client/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/config.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/containers.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/core/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/core/db/Database.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/core/db/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/core/exceptions/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/core/exceptions/base.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/core/exceptions/token.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/dagster.Dockerfile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/domain/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/domain/users/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/domain/users/queriesInterface.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/domain/users/userSchema.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/domain/users/userService.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/fastapi.Dockerfile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/db.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/impl/mongo/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/impl/mongo/db.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/impl/mongo/models/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/impl/mongo/models/user.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/models/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/infrastructure/database/models/user.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/extract_nmdc_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/load_nmdc_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/nmdc_data_source.yaml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/nmdc_dataframes.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/nmdc_etl_class.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/lib/transform_nmdc_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/main.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/adapters/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/adapters/repository.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/bootstrap.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/config.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/domain/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/domain/model.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/entrypoints/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/minter/entrypoints/fastapi_app.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/backup/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/backup/nmdcdb_mongodump.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/backup/nmdcdb_mongoexport.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/backup/nmdcdb_mongoimport.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/changesheets/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/changesheets/base.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/changesheets/data/OmicsProcessing-to-catted-Biosamples.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/changesheets/scripts/missing_neon_soils_ecosystem_data.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/changesheets/scripts/neon_soils_add_ncbi_ids.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/dagster.yaml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/drsobjects/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/drsobjects/ingest.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/drsobjects/registration.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/entrypoint-daemon.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/entrypoint-dagit-readonly.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/entrypoint-dagit.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/export/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/export/ncbi_xml.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/export/ncbi_xml_utils.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/export/study_metadata.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/graphs.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/normalization/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/normalization/gold.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/repository.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/resources.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/emsl.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/gold.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/jgi.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/neon_benthic_translator.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/neon_soil_translator.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/neon_surface_water_translator.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/neon_utils.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/translation/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/validation/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/validation/emsl.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/validation/gold.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/validation/jgi.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/validation/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/site/workspace.yaml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/static/ORCIDiD_icon128x128.png +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/static/favicon.ico +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/templates/pipeline_search.html +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/templates/search.html +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/test.Dockerfile +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime.egg-info/dependency_links.txt +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime.egg-info/entry_points.txt +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/nmdc_runtime.egg-info/top_level.txt +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/requirements/dev.in +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/setup.cfg +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/setup.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tasks.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/conftest.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/e2e/test_minter_api.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/nmdc_bsm-11-5nhz3402.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/nmdc_bsm-12-7mysck21.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/nmdc_dobj-11-000n1286.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/nmdc_sty-11-pzmd0x14.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/planned_processes.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/study_no_credit_associations.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/test_changesheet_insert_study_doi.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/test_changesheet_update_bytes_ranged_slot.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/files/test_changesheet_update_one_ph.tsv +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/integration/test_minter_repository.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/mongodump-nmdc-testdb.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/mongorestore-nmdc-testdb.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/nmdcdb.test.archive.gz +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_api/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_api/test_db_mongo.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_api/util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/conftest.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_gold_translator.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_gold_translator_data.yaml +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_integrity.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_ncbi_xml.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_neon_benthic_data_translator.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_data/test_neon_soil_data_translator.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_graphs/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_graphs/ensure_jobs.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_graphs/test_hello.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_graphs/test_submission_portal_graphs.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_normalization/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_normalization/test_gold.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_ops/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_ops/test_data_api_ops.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_ops/test_get_csv_rows_from_url.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_ops/test_gold_api_ops.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_ops/test_materialize_alldocs.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/test_util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/unit/core_util.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests/unit/test_minter_model.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests2/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests2/domain/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests2/domain/service/__init__.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tests2/domain/service/test_user_service.py +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/tmp.json +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/util/mongodump-nmdc.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/util/mongorestore-nmdc.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/wait-for-it.sh +0 -0
- {nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/workspace.toml +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
2
|
+
│ 1. Summary (required) │
|
|
3
|
+
│ │
|
|
4
|
+
│ Summarize the changes you made on this branch. This is typically a more │
|
|
5
|
+
│ detailed restatement of the PR title. │
|
|
6
|
+
│ │
|
|
7
|
+
│ Example: "In this branch, I updated the `/studies/{study_id}` endpoint │
|
|
8
|
+
│ so it returns an HTTP 404 response when the specified study │
|
|
9
|
+
│ does not exist." │
|
|
10
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
11
|
+
|
|
12
|
+
In this branch, I...
|
|
13
|
+
|
|
14
|
+
### Details
|
|
15
|
+
|
|
16
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
17
|
+
│ 2. Details (optional) │
|
|
18
|
+
│ │
|
|
19
|
+
│ Provide additional information you think readers will find useful. │
|
|
20
|
+
│ Readers include PR reviewers, release note authors, app debuggers, and │
|
|
21
|
+
│ your future self. Additional information might include motivation, │
|
|
22
|
+
│ rationale, and a description of how things used to be. │
|
|
23
|
+
│ │
|
|
24
|
+
│ Example: "It previously returned an HTTP 404 response and an empty │
|
|
25
|
+
│ JSON object." │
|
|
26
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
27
|
+
|
|
28
|
+
...
|
|
29
|
+
|
|
30
|
+
### Related issue(s)
|
|
31
|
+
|
|
32
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
33
|
+
│ 3. Related issue(s) (optional) │
|
|
34
|
+
│ │
|
|
35
|
+
│ Link to any GitHub issue(s) this branch was designed to resolve. │
|
|
36
|
+
│ │
|
|
37
|
+
│ Example: "Fixes #12345" │
|
|
38
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
39
|
+
|
|
40
|
+
...
|
|
41
|
+
|
|
42
|
+
### Related subsystem(s)
|
|
43
|
+
|
|
44
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
45
|
+
│ 4. Related subsystem(s) (required) │
|
|
46
|
+
│ │
|
|
47
|
+
│ Mark the checkbox next to each subsystem related to the changes in this │
|
|
48
|
+
│ branch. This information might influence who you request reviews from. │
|
|
49
|
+
│ │
|
|
50
|
+
│ Example: If you modified the `/studies/{study_id}` API endpoint, │
|
|
51
|
+
│ mark the checkbox next to "Runtime API (except the Minter)". │
|
|
52
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
53
|
+
|
|
54
|
+
- [ ] Runtime API (except the Minter)
|
|
55
|
+
- [ ] Minter
|
|
56
|
+
- [ ] Dagster
|
|
57
|
+
- [ ] Project documentation (in the `docs` directory)
|
|
58
|
+
- [ ] MongoDB migrations
|
|
59
|
+
- [ ] Other
|
|
60
|
+
|
|
61
|
+
### Testing
|
|
62
|
+
|
|
63
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
64
|
+
│ 5. Testing (required) │
|
|
65
|
+
│ │
|
|
66
|
+
│ Indicate whether you have already tested the changes this branch │
|
|
67
|
+
│ contains; and, if so, how someone other than you can test them. That │
|
|
68
|
+
│ may involve attaching example files or ad hoc test instructions. │
|
|
69
|
+
│ │
|
|
70
|
+
│ Example: "I tested these changes by adding a pytest test that ensures │
|
|
71
|
+
│ the database does not contain a Study whose ID is `foo`, │
|
|
72
|
+
│ then submits an HTTP request to `/studies/foo` and confirms │
|
|
73
|
+
│ the response status is 404." │
|
|
74
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
75
|
+
|
|
76
|
+
- [ ] I tested these changes (explain below)
|
|
77
|
+
- [ ] I did not test these changes
|
|
78
|
+
|
|
79
|
+
I tested these changes by...
|
|
80
|
+
|
|
81
|
+
### Documentation
|
|
82
|
+
|
|
83
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
84
|
+
│ 6. Documentation (required) │
|
|
85
|
+
│ │
|
|
86
|
+
│ Indicate whether, in this branch, you have updated all documentation │
|
|
87
|
+
│ that would otherwise become inaccurate if this branch were to be │
|
|
88
|
+
│ merged in. │
|
|
89
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
90
|
+
|
|
91
|
+
- [ ] I **have not checked** for relevant documentation yet (e.g. in the `docs` directory)
|
|
92
|
+
- [ ] I have **updated** all relevant documentation so it will remain accurate
|
|
93
|
+
- [ ] Other (explain below)
|
|
94
|
+
|
|
95
|
+
### Maintainability
|
|
96
|
+
|
|
97
|
+
<!--┌─────────────────────────────────────────────────────────────────────────┐
|
|
98
|
+
│ 7. Maintainability (required) │
|
|
99
|
+
│ │
|
|
100
|
+
│ Indicate whether you have done each of these things that can make code │
|
|
101
|
+
│ easier to maintain, whether by your teammates or by your future self. │
|
|
102
|
+
└─────────────────────────────────────────────────────────────────────────┘-->
|
|
103
|
+
|
|
104
|
+
- [ ] Every Python function I defined includes a docstring _(test functions are exempt from this)_
|
|
105
|
+
- [ ] Every Python function parameter I introduced includes a type hint (e.g. `study_id: str`)
|
|
106
|
+
- [ ] All "to do" or "fix me" Python comments I added begin with either `# TODO` or `# FIXME`
|
|
107
|
+
- [ ] I used `black` to format all the Python files I created/modified
|
|
108
|
+
- [ ] The PR title is in the imperative mood (e.g. "Do X") and not the declarative mood (e.g. "Does X" or "Did X")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: nmdc_runtime
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Summary: A runtime system for NMDC data management and orchestration
|
|
5
5
|
Home-page: https://github.com/microbiomedata/nmdc-runtime
|
|
6
6
|
Author: Donny Winston
|
|
@@ -114,7 +114,9 @@ cp .env.example .env
|
|
|
114
114
|
Create environment variables in your shell session, based upon the contents of the `.env` file.
|
|
115
115
|
|
|
116
116
|
```shell
|
|
117
|
-
|
|
117
|
+
set -a # automatically export all variables
|
|
118
|
+
source .env
|
|
119
|
+
set +a
|
|
118
120
|
```
|
|
119
121
|
|
|
120
122
|
If you are connecting to resources that require an SSH tunnel—for example, a MongoDB server that is only accessible on the NERSC network—set up the SSH tunnel.
|
|
@@ -100,7 +100,9 @@ cp .env.example .env
|
|
|
100
100
|
Create environment variables in your shell session, based upon the contents of the `.env` file.
|
|
101
101
|
|
|
102
102
|
```shell
|
|
103
|
-
|
|
103
|
+
set -a # automatically export all variables
|
|
104
|
+
source .env
|
|
105
|
+
set +a
|
|
104
106
|
```
|
|
105
107
|
|
|
106
108
|
If you are connecting to resources that require an SSH tunnel—for example, a MongoDB server that is only accessible on the NERSC network—set up the SSH tunnel.
|
{nmdc_runtime-2.0.1 → nmdc_runtime-2.1.1}/demo/metadata_migration/notebooks/.notebook.env.example
RENAMED
|
@@ -8,13 +8,19 @@ PATH_TO_MONGORESTORE_BINARY = "__REPLACE_ME__" # e.g. "/Users/Alice/Downloads/m
|
|
|
8
8
|
PATH_TO_MONGOSH_BINARY = "__REPLACE_ME__" # e.g. "/Users/Alice/Downloads/mongosh-1.10.6-darwin-x64/bin/mongosh"
|
|
9
9
|
|
|
10
10
|
# Connection parameters for the Origin Mongo server (typically a remote serve).
|
|
11
|
+
# Note: The Origin Mongo server is the one that contains the database you want
|
|
12
|
+
# to migrate. It is where the "E" and "L" in "ETL" will take place.
|
|
11
13
|
ORIGIN_MONGO_HOST="__REPLACE_ME__"
|
|
12
14
|
ORIGIN_MONGO_PORT="__REPLACE_ME__"
|
|
13
15
|
ORIGIN_MONGO_USERNAME="__REPLACE_ME__"
|
|
14
16
|
ORIGIN_MONGO_PASSWORD="__REPLACE_ME__"
|
|
17
|
+
ORIGIN_MONGO_DATABASE_NAME="__REPLACE_ME__" # e.g. "nmdc"
|
|
15
18
|
|
|
16
19
|
# Connection parameters for the Transformer Mongo server (typically a local server).
|
|
20
|
+
# Note: The Transformer Mongo server is the one you want to use to perform the
|
|
21
|
+
# database transformations. It is where the "T" in "ETL" will take place.
|
|
17
22
|
TRANSFORMER_MONGO_HOST="__REPLACE_ME__"
|
|
18
23
|
TRANSFORMER_MONGO_PORT="__REPLACE_ME__"
|
|
19
24
|
TRANSFORMER_MONGO_USERNAME="__REPLACE_ME__"
|
|
20
25
|
TRANSFORMER_MONGO_PASSWORD="__REPLACE_ME__"
|
|
26
|
+
TRANSFORMER_MONGO_DATABASE_NAME="__REPLACE_ME__" # e.g. "nmdc_transformer"
|
|
@@ -2,6 +2,7 @@ from pathlib import Path
|
|
|
2
2
|
from typing import Dict, Optional, List
|
|
3
3
|
import logging
|
|
4
4
|
from datetime import datetime
|
|
5
|
+
from functools import cache
|
|
5
6
|
|
|
6
7
|
from dotenv import dotenv_values
|
|
7
8
|
from linkml_runtime import SchemaView
|
|
@@ -13,6 +14,34 @@ DATABASE_CLASS_NAME = "Database"
|
|
|
13
14
|
class Config:
|
|
14
15
|
"""Wrapper class for configuration values related to database migration."""
|
|
15
16
|
|
|
17
|
+
@staticmethod
|
|
18
|
+
def make_mongo_cli_base_options(
|
|
19
|
+
mongo_host: str,
|
|
20
|
+
mongo_port: str,
|
|
21
|
+
mongo_username: Optional[str],
|
|
22
|
+
mongo_password: Optional[str],
|
|
23
|
+
) -> str:
|
|
24
|
+
r"""Compile common Mongo CLI options into a reusable string."""
|
|
25
|
+
|
|
26
|
+
# Always include the CLI options that specify the server host and port.
|
|
27
|
+
base_options: List[str] = [
|
|
28
|
+
f"--host='{mongo_host}'",
|
|
29
|
+
f"--port='{mongo_port}'",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
# If the server uses authentication, include authentication-related CLI options.
|
|
33
|
+
server_uses_authentication: bool = mongo_username not in ["", None]
|
|
34
|
+
if server_uses_authentication:
|
|
35
|
+
base_options.extend(
|
|
36
|
+
[
|
|
37
|
+
f"--username='{mongo_username}'",
|
|
38
|
+
f"--password='{mongo_password}'",
|
|
39
|
+
f"--authenticationDatabase='admin'",
|
|
40
|
+
]
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
return " ".join(base_options)
|
|
44
|
+
|
|
16
45
|
def parse_and_validate_notebook_config_file(
|
|
17
46
|
self, notebook_config_file_path: str
|
|
18
47
|
) -> Dict[str, str]:
|
|
@@ -27,7 +56,9 @@ class Config:
|
|
|
27
56
|
|
|
28
57
|
# Validate the dump folder paths.
|
|
29
58
|
origin_dump_folder_path = notebook_config["PATH_TO_ORIGIN_MONGO_DUMP_FOLDER"]
|
|
30
|
-
transformer_dump_folder_path = notebook_config[
|
|
59
|
+
transformer_dump_folder_path = notebook_config[
|
|
60
|
+
"PATH_TO_TRANSFORMER_MONGO_DUMP_FOLDER"
|
|
61
|
+
]
|
|
31
62
|
if not Path(origin_dump_folder_path).parent.is_dir():
|
|
32
63
|
raise FileNotFoundError(
|
|
33
64
|
f"Parent folder of {origin_dump_folder_path} (origin Mongo dump folder path) not found."
|
|
@@ -44,7 +75,9 @@ class Config:
|
|
|
44
75
|
if not Path(mongodump_path).is_file():
|
|
45
76
|
raise FileNotFoundError(f"mongodump binary not found at: {mongodump_path}")
|
|
46
77
|
if not Path(mongorestore_path).is_file():
|
|
47
|
-
raise FileNotFoundError(
|
|
78
|
+
raise FileNotFoundError(
|
|
79
|
+
f"mongorestore binary not found at: {mongorestore_path}"
|
|
80
|
+
)
|
|
48
81
|
if not Path(mongosh_path).is_file():
|
|
49
82
|
raise FileNotFoundError(f"mongosh binary not found at: {mongosh_path}")
|
|
50
83
|
|
|
@@ -52,11 +85,33 @@ class Config:
|
|
|
52
85
|
origin_mongo_port = notebook_config["ORIGIN_MONGO_PORT"]
|
|
53
86
|
origin_mongo_username = notebook_config["ORIGIN_MONGO_USERNAME"]
|
|
54
87
|
origin_mongo_password = notebook_config["ORIGIN_MONGO_PASSWORD"]
|
|
88
|
+
origin_mongo_database_name = notebook_config["ORIGIN_MONGO_DATABASE_NAME"]
|
|
55
89
|
|
|
56
90
|
transformer_mongo_host = notebook_config["TRANSFORMER_MONGO_HOST"]
|
|
57
91
|
transformer_mongo_port = notebook_config["TRANSFORMER_MONGO_PORT"]
|
|
58
92
|
transformer_mongo_username = notebook_config["TRANSFORMER_MONGO_USERNAME"]
|
|
59
93
|
transformer_mongo_password = notebook_config["TRANSFORMER_MONGO_PASSWORD"]
|
|
94
|
+
transformer_mongo_database_name = notebook_config[
|
|
95
|
+
"TRANSFORMER_MONGO_DATABASE_NAME"
|
|
96
|
+
]
|
|
97
|
+
|
|
98
|
+
# Validate the database names.
|
|
99
|
+
if origin_mongo_database_name.strip() == "":
|
|
100
|
+
raise ValueError(f"Origin database name cannot be empty")
|
|
101
|
+
if transformer_mongo_database_name.strip() == "":
|
|
102
|
+
raise ValueError(f"Transformer database name cannot be empty")
|
|
103
|
+
if all(
|
|
104
|
+
[
|
|
105
|
+
origin_mongo_host == transformer_mongo_host,
|
|
106
|
+
origin_mongo_port == transformer_mongo_port,
|
|
107
|
+
origin_mongo_database_name == transformer_mongo_database_name,
|
|
108
|
+
]
|
|
109
|
+
):
|
|
110
|
+
# Note: We don't allow the use of the origin database as the transformer,
|
|
111
|
+
# because that would prevent us from easily aborting the migration.
|
|
112
|
+
raise ValueError(
|
|
113
|
+
f"The origin and transformer cannot both be the same database"
|
|
114
|
+
)
|
|
60
115
|
|
|
61
116
|
return dict(
|
|
62
117
|
origin_dump_folder_path=origin_dump_folder_path,
|
|
@@ -68,30 +123,40 @@ class Config:
|
|
|
68
123
|
origin_mongo_port=origin_mongo_port,
|
|
69
124
|
origin_mongo_username=origin_mongo_username,
|
|
70
125
|
origin_mongo_password=origin_mongo_password,
|
|
126
|
+
origin_mongo_database_name=origin_mongo_database_name,
|
|
71
127
|
transformer_mongo_host=transformer_mongo_host,
|
|
72
128
|
transformer_mongo_port=transformer_mongo_port,
|
|
73
129
|
transformer_mongo_username=transformer_mongo_username,
|
|
74
130
|
transformer_mongo_password=transformer_mongo_password,
|
|
131
|
+
transformer_mongo_database_name=transformer_mongo_database_name,
|
|
75
132
|
)
|
|
76
133
|
|
|
77
134
|
def __init__(self, notebook_config_file_path: str = "./.notebook.env") -> None:
|
|
78
135
|
# Parse and validate the notebook config file.
|
|
79
|
-
notebook_config = self.parse_and_validate_notebook_config_file(
|
|
136
|
+
notebook_config = self.parse_and_validate_notebook_config_file(
|
|
137
|
+
notebook_config_file_path
|
|
138
|
+
)
|
|
80
139
|
self.mongodump_path = notebook_config["mongodump_path"]
|
|
81
140
|
self.mongorestore_path = notebook_config["mongorestore_path"]
|
|
82
141
|
self.mongosh_path = notebook_config["mongosh_path"]
|
|
83
142
|
self.origin_dump_folder_path = notebook_config["origin_dump_folder_path"]
|
|
84
|
-
self.transformer_dump_folder_path = notebook_config[
|
|
143
|
+
self.transformer_dump_folder_path = notebook_config[
|
|
144
|
+
"transformer_dump_folder_path"
|
|
145
|
+
]
|
|
85
146
|
|
|
86
147
|
# Parse the Mongo connection parameters.
|
|
87
148
|
self.origin_mongo_host = notebook_config["origin_mongo_host"]
|
|
88
149
|
self.origin_mongo_port = notebook_config["origin_mongo_port"]
|
|
89
150
|
self.origin_mongo_username = notebook_config["origin_mongo_username"]
|
|
90
151
|
self.origin_mongo_password = notebook_config["origin_mongo_password"]
|
|
152
|
+
self.origin_mongo_database_name = notebook_config["origin_mongo_database_name"]
|
|
91
153
|
self.transformer_mongo_host = notebook_config["transformer_mongo_host"]
|
|
92
154
|
self.transformer_mongo_port = notebook_config["transformer_mongo_port"]
|
|
93
155
|
self.transformer_mongo_username = notebook_config["transformer_mongo_username"]
|
|
94
156
|
self.transformer_mongo_password = notebook_config["transformer_mongo_password"]
|
|
157
|
+
self.transformer_mongo_database_name = notebook_config[
|
|
158
|
+
"transformer_mongo_database_name"
|
|
159
|
+
]
|
|
95
160
|
|
|
96
161
|
|
|
97
162
|
def setup_logger(
|
|
@@ -128,6 +193,9 @@ def get_collection_names_from_schema(schema_view: SchemaView) -> List[str]:
|
|
|
128
193
|
Returns the names of the slots of the `Database` class that describe database collections.
|
|
129
194
|
|
|
130
195
|
:param schema_view: A `SchemaView` instance
|
|
196
|
+
|
|
197
|
+
Source: This function was copied from https://github.com/microbiomedata/refscan/blob/main/refscan/lib/helpers.py
|
|
198
|
+
with permission from its author.
|
|
131
199
|
"""
|
|
132
200
|
collection_names = []
|
|
133
201
|
|
|
@@ -144,3 +212,50 @@ def get_collection_names_from_schema(schema_view: SchemaView) -> List[str]:
|
|
|
144
212
|
collection_names = list(set(collection_names))
|
|
145
213
|
|
|
146
214
|
return collection_names
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
@cache # memoizes the decorated function
|
|
218
|
+
def translate_class_uri_into_schema_class_name(
|
|
219
|
+
schema_view: SchemaView, class_uri: str
|
|
220
|
+
) -> Optional[str]:
|
|
221
|
+
r"""
|
|
222
|
+
Returns the name of the schema class that has the specified value as its `class_uri`.
|
|
223
|
+
|
|
224
|
+
Example: "nmdc:Biosample" (a `class_uri` value) -> "Biosample" (a class name)
|
|
225
|
+
|
|
226
|
+
References:
|
|
227
|
+
- https://linkml.io/linkml/developers/schemaview.html#linkml_runtime.utils.schemaview.SchemaView.all_classes
|
|
228
|
+
- https://linkml.io/linkml/code/metamodel.html#linkml_runtime.linkml_model.meta.ClassDefinition.class_uri
|
|
229
|
+
|
|
230
|
+
Source: This function was copied from https://github.com/microbiomedata/refscan/blob/main/refscan/lib/helpers.py
|
|
231
|
+
with permission from its author.
|
|
232
|
+
"""
|
|
233
|
+
schema_class_name = None
|
|
234
|
+
all_class_definitions_in_schema = schema_view.all_classes()
|
|
235
|
+
for class_name, class_definition in all_class_definitions_in_schema.items():
|
|
236
|
+
if class_definition.class_uri == class_uri:
|
|
237
|
+
schema_class_name = class_definition.name
|
|
238
|
+
break
|
|
239
|
+
return schema_class_name
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
def derive_schema_class_name_from_document(
|
|
243
|
+
schema_view: SchemaView, document: dict
|
|
244
|
+
) -> Optional[str]:
|
|
245
|
+
r"""
|
|
246
|
+
Returns the name of the schema class, if any, of which the specified document claims to represent an instance.
|
|
247
|
+
|
|
248
|
+
This function is written under the assumption that the document has a `type` field whose value is the `class_uri`
|
|
249
|
+
belonging to the schema class of which the document represents an instance. Slot definition for such a field:
|
|
250
|
+
https://github.com/microbiomedata/berkeley-schema-fy24/blob/fc2d9600/src/schema/basic_slots.yaml#L420-L436
|
|
251
|
+
|
|
252
|
+
Source: This function was copied from https://github.com/microbiomedata/refscan/blob/main/refscan/lib/helpers.py
|
|
253
|
+
with permission from its author.
|
|
254
|
+
"""
|
|
255
|
+
schema_class_name = None
|
|
256
|
+
if "type" in document and isinstance(document["type"], str):
|
|
257
|
+
class_uri = document["type"]
|
|
258
|
+
schema_class_name = translate_class_uri_into_schema_class_name(
|
|
259
|
+
schema_view, class_uri
|
|
260
|
+
)
|
|
261
|
+
return schema_class_name
|