nmdc-runtime 1.9.0__py3-none-any.whl → 1.10.0__py3-none-any.whl
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/site/ops.py +4 -0
- nmdc_runtime/site/translation/neon_benthic_translator.py +1 -3
- nmdc_runtime/site/translation/neon_soil_translator.py +1 -3
- {nmdc_runtime-1.9.0.dist-info → nmdc_runtime-1.10.0.dist-info}/METADATA +1 -1
- {nmdc_runtime-1.9.0.dist-info → nmdc_runtime-1.10.0.dist-info}/RECORD +9 -9
- {nmdc_runtime-1.9.0.dist-info → nmdc_runtime-1.10.0.dist-info}/WHEEL +1 -1
- {nmdc_runtime-1.9.0.dist-info → nmdc_runtime-1.10.0.dist-info}/LICENSE +0 -0
- {nmdc_runtime-1.9.0.dist-info → nmdc_runtime-1.10.0.dist-info}/entry_points.txt +0 -0
- {nmdc_runtime-1.9.0.dist-info → nmdc_runtime-1.10.0.dist-info}/top_level.txt +0 -0
nmdc_runtime/site/ops.py
CHANGED
|
@@ -1043,6 +1043,10 @@ def materialize_alldocs(context) -> int:
|
|
|
1043
1043
|
|
|
1044
1044
|
# Re-idx for `alldocs` collection
|
|
1045
1045
|
mdb.alldocs.create_index("id", unique=True)
|
|
1046
|
+
# The indexes were added to improve the performance of the
|
|
1047
|
+
# /data_objects/study/{study_id} endpoint
|
|
1048
|
+
mdb.alldocs.create_index("has_input")
|
|
1049
|
+
mdb.alldocs.create_index("has_output")
|
|
1046
1050
|
context.log.info(
|
|
1047
1051
|
f"refreshed {mdb.alldocs} collection with {mdb.alldocs.estimated_document_count()} docs."
|
|
1048
1052
|
)
|
|
@@ -185,9 +185,7 @@ class NeonBenthicDataTranslator(Translator):
|
|
|
185
185
|
input_mass=_create_quantity_value(
|
|
186
186
|
_get_value_or_none(extraction_row, "sampleMass"), "g"
|
|
187
187
|
),
|
|
188
|
-
|
|
189
|
-
status=_get_value_or_none(extraction_row, "qaqcStatus")
|
|
190
|
-
),
|
|
188
|
+
qc_status=_get_value_or_none(extraction_row, "qaqcStatus"),
|
|
191
189
|
processing_institution=processing_institution,
|
|
192
190
|
)
|
|
193
191
|
|
|
@@ -280,9 +280,7 @@ class NeonSoilDataTranslator(Translator):
|
|
|
280
280
|
input_mass=_create_quantity_value(
|
|
281
281
|
_get_value_or_none(extraction_row, "sampleMass"), "g"
|
|
282
282
|
),
|
|
283
|
-
|
|
284
|
-
status=_get_value_or_none(extraction_row, "qaqcStatus")
|
|
285
|
-
),
|
|
283
|
+
qc_status=_get_value_or_none(extraction_row, "qaqcStatus"),
|
|
286
284
|
processing_institution=processing_institution,
|
|
287
285
|
)
|
|
288
286
|
|
|
@@ -37,7 +37,7 @@ nmdc_runtime/minter/entrypoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
|
37
37
|
nmdc_runtime/minter/entrypoints/fastapi_app.py,sha256=JC4thvzfFwRc1mhWQ-kHy3yvs0SYxF6ktE7LXNCwqlI,4031
|
|
38
38
|
nmdc_runtime/site/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
nmdc_runtime/site/graphs.py,sha256=jqfwhrCVUBszt9168au_DVvZBtgIfpUf1OXFiyPHI6U,12304
|
|
40
|
-
nmdc_runtime/site/ops.py,sha256=
|
|
40
|
+
nmdc_runtime/site/ops.py,sha256=Rey3H7q7hITI4xsXZ-rWNSGWgtt-65WAVCo4GLqLn3U,39826
|
|
41
41
|
nmdc_runtime/site/repository.py,sha256=ge3LW_5izCgL6x1Ios8z2Hrt--aY6LXqhGjnAjcIJkI,37422
|
|
42
42
|
nmdc_runtime/site/resources.py,sha256=ZSH1yvA-li0R7Abc22_v0XLbjBYf5igETr2G01J3hnc,17557
|
|
43
43
|
nmdc_runtime/site/util.py,sha256=zAY0oIY7GRf63ecqWelmS27N7PVrAXVwEhtnpescBSw,1415
|
|
@@ -61,8 +61,8 @@ nmdc_runtime/site/translation/emsl.py,sha256=-aCTJTSCNaK-Koh8BE_4fTf5nyxP1KkquR6
|
|
|
61
61
|
nmdc_runtime/site/translation/gold.py,sha256=R3W99sdQb7Pgu_esN7ruIC-tyREQD_idJ4xCzkqWuGw,1622
|
|
62
62
|
nmdc_runtime/site/translation/gold_translator.py,sha256=8i5FxrgAG4rLbM0mcCSBaZEzyReht6xwmpm4xeX4HwI,26451
|
|
63
63
|
nmdc_runtime/site/translation/jgi.py,sha256=qk878KhIw674TkrVfbl2x1QJrKi3zlvE0vesIpe9slM,876
|
|
64
|
-
nmdc_runtime/site/translation/neon_benthic_translator.py,sha256=
|
|
65
|
-
nmdc_runtime/site/translation/neon_soil_translator.py,sha256=
|
|
64
|
+
nmdc_runtime/site/translation/neon_benthic_translator.py,sha256=p91B5o0MkSGaDDZw2jGQoYfJBqVc6pW7k7l7_0aQIaA,22992
|
|
65
|
+
nmdc_runtime/site/translation/neon_soil_translator.py,sha256=Rc2KptRHORY-MZuNYMNtTTmHKD0c0sUMfMxYylLTJn4,37557
|
|
66
66
|
nmdc_runtime/site/translation/neon_surface_water_translator.py,sha256=6LaFwBnVx6TN9v1D-G6LFrDxY0TK05AvMklx0E1tTeQ,26590
|
|
67
67
|
nmdc_runtime/site/translation/neon_utils.py,sha256=mdxJVPb3zbD4DiKW3Fwgk22kjczKMwkcozvy7fwteTE,5203
|
|
68
68
|
nmdc_runtime/site/translation/submission_portal_translator.py,sha256=aNGIXTiJEXGC_29qWeol2C426bAt5VlY3In_YhplPU0,28169
|
|
@@ -73,9 +73,9 @@ nmdc_runtime/site/validation/emsl.py,sha256=OG20mv_3E2rkQqTQtYO0_SVRqFb-Z_zKCiAV
|
|
|
73
73
|
nmdc_runtime/site/validation/gold.py,sha256=Z5ZzYdjERbrJ2Tu06d0TDTBSfwaFdL1Z23Rl-YkZ2Ow,803
|
|
74
74
|
nmdc_runtime/site/validation/jgi.py,sha256=LdJfhqBVHWCDp0Kzyk8eJZMwEI5NQ-zuTda31BcGwOA,1299
|
|
75
75
|
nmdc_runtime/site/validation/util.py,sha256=GGbMDSwR090sr_E_fHffCN418gpYESaiot6XghS7OYk,3349
|
|
76
|
-
nmdc_runtime-1.
|
|
77
|
-
nmdc_runtime-1.
|
|
78
|
-
nmdc_runtime-1.
|
|
79
|
-
nmdc_runtime-1.
|
|
80
|
-
nmdc_runtime-1.
|
|
81
|
-
nmdc_runtime-1.
|
|
76
|
+
nmdc_runtime-1.10.0.dist-info/LICENSE,sha256=VWiv65r7gHGjgtr3jMJYVmQny5GRpQ6H-W9sScb1x70,2408
|
|
77
|
+
nmdc_runtime-1.10.0.dist-info/METADATA,sha256=17FQCxBZadSi9xVhFWBaBhRkCEOSsKMQQmM6A_Av1DQ,7303
|
|
78
|
+
nmdc_runtime-1.10.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
79
|
+
nmdc_runtime-1.10.0.dist-info/entry_points.txt,sha256=JxdvOnvxHK_8046cwlvE30s_fV0-k-eTpQtkKYA69nQ,224
|
|
80
|
+
nmdc_runtime-1.10.0.dist-info/top_level.txt,sha256=b0K1s09L_iHH49ueBKaLrB5-lh6cyrSv9vL6x4Qvyz8,13
|
|
81
|
+
nmdc_runtime-1.10.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|