nmdc-runtime 1.4.0__py3-none-any.whl → 1.4.1__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.

@@ -1,6 +1,7 @@
1
1
  """
2
2
  Get NMDC study-associated metadata from search api
3
3
  """
4
+
4
5
  import csv
5
6
  from io import StringIO
6
7
 
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Translates EMSL data into JSON conformant with the NMDC JSON schema
3
3
  """
4
+
4
5
  from dagster import op, graph
5
6
 
6
7
  from nmdc_runtime.lib.nmdc_etl_class import NMDC_ETL
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Translates EMSL data into JSON conformant with the NMDC JSON schema
3
3
  """
4
+
4
5
  from dagster import op, graph
5
6
 
6
7
  from nmdc_runtime.lib.nmdc_etl_class import NMDC_ETL
@@ -160,11 +160,11 @@ class NeonSoilDataTranslator(Translator):
160
160
  biosample_row["CNratio"].values[0], None
161
161
  ),
162
162
  ph=_create_double_value(biosample_row["soilInWaterpH"].values[0]),
163
- water_content=[
164
- f"{biosample_row['soilMoisture'].values[0]} g of water/g of dry soil"
165
- ]
166
- if not biosample_row["soilMoisture"].isna().any()
167
- else None,
163
+ water_content=(
164
+ [f"{biosample_row['soilMoisture'].values[0]} g of water/g of dry soil"]
165
+ if not biosample_row["soilMoisture"].isna().any()
166
+ else None
167
+ ),
168
168
  ammonium_nitrogen=_create_quantity_value(
169
169
  biosample_row["kclAmmoniumNConc"].values[0], "mg/L"
170
170
  ),
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Validates data in the EMSL collection in the nmdc_etl_staging database.
3
3
  """
4
+
4
5
  from dagster import op, graph
5
6
  from nmdc_runtime.site.validation.util import (
6
7
  preset_prod,
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Validates data in the GOLD collection in the nmdc_etl_staging database.
3
3
  """
4
+
4
5
  from dagster import op, graph
5
6
  from nmdc_runtime.site.validation.util import (
6
7
  preset_prod,
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Validates data in the JGI collection in the nmdc_etl_staging database.
3
3
  """
4
+
4
5
  from dagster import op, graph
5
6
 
6
7
  from nmdc_runtime.site.ops import local_file_to_api_object
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nmdc_runtime
3
- Version: 1.4.0
3
+ Version: 1.4.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
@@ -50,7 +50,7 @@ nmdc_runtime/site/drsobjects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
50
50
  nmdc_runtime/site/drsobjects/ingest.py,sha256=pcMP69WSzFHFqHB9JIL55ePFhilnCLRc2XHCQ97w1Ik,3107
51
51
  nmdc_runtime/site/drsobjects/registration.py,sha256=D1T3QUuxEOxqKZIvB5rkb_6ZxFZiA-U9SMPajyeWC2Y,3572
52
52
  nmdc_runtime/site/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
- nmdc_runtime/site/export/study_metadata.py,sha256=3X0Lh85WCExhamWPeAOrUIcf5JvxCabWNH6F7n5xxyU,4026
53
+ nmdc_runtime/site/export/study_metadata.py,sha256=d3q6RV93B0BA64ZkfCPEHdlrC1P8pm9Sj6SxRDcpB7A,4027
54
54
  nmdc_runtime/site/normalization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  nmdc_runtime/site/normalization/gold.py,sha256=iISDD4qs4d6uLhv631WYNeQVOzY5DO201ZpPtxHdkVk,1311
56
56
  nmdc_runtime/site/terminusdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -58,24 +58,24 @@ nmdc_runtime/site/terminusdb/generate.py,sha256=Z3c06LDx3TGw4pvPRO97caQvzc8SuhGm
58
58
  nmdc_runtime/site/terminusdb/ingest.py,sha256=WE_V4vRRnlL6hIBU1TDSUheYOBWS9d5g6FHPS64jzvM,1245
59
59
  nmdc_runtime/site/terminusdb/schema.py,sha256=3e39rHUSZsNbN_F0SHHNsvcEGRWtYa6O9KNj3cH3tUs,77129
60
60
  nmdc_runtime/site/translation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
- nmdc_runtime/site/translation/emsl.py,sha256=l6Q9Jj3RNJFQNYAU_TtKTJ7cyFcR93xBRs_lLdX0bMQ,1244
61
+ nmdc_runtime/site/translation/emsl.py,sha256=-aCTJTSCNaK-Koh8BE_4fTf5nyxP1KkquR6lloLEJl0,1245
62
62
  nmdc_runtime/site/translation/gold.py,sha256=R3W99sdQb7Pgu_esN7ruIC-tyREQD_idJ4xCzkqWuGw,1622
63
63
  nmdc_runtime/site/translation/gold_translator.py,sha256=8i5FxrgAG4rLbM0mcCSBaZEzyReht6xwmpm4xeX4HwI,26451
64
- nmdc_runtime/site/translation/jgi.py,sha256=bh73r0uq5BT3ywXwIa1OEKKtz9LbFsSng472tdr-xtg,875
64
+ nmdc_runtime/site/translation/jgi.py,sha256=qk878KhIw674TkrVfbl2x1QJrKi3zlvE0vesIpe9slM,876
65
65
  nmdc_runtime/site/translation/neon_benthic_translator.py,sha256=e_7tXFrP0PpdhqUCxXmOaFViSuG36IIMDqyj3FHLcgQ,23069
66
- nmdc_runtime/site/translation/neon_soil_translator.py,sha256=x-FfNKsIv0efgxty9v4wOxNu5nrrS-N8phx12IqfLOI,37624
66
+ nmdc_runtime/site/translation/neon_soil_translator.py,sha256=cJJ_QPva5G5SIT_7DjCSsqbDvgbiKGqUYrxK3nx7_Lw,37634
67
67
  nmdc_runtime/site/translation/neon_utils.py,sha256=k8JYMnm-L981BTOdAMomR1CulS_Hz5v7aYxrJ94KEJc,5086
68
68
  nmdc_runtime/site/translation/submission_portal_translator.py,sha256=lHcrfPR5wk3BcZ0Uw5zUyWu5XRVikgOzdzSb5nFVS9I,27964
69
69
  nmdc_runtime/site/translation/translator.py,sha256=xM9dM-nTgSWwu5HFoUVNHf8kqk9iiH4PgWdSx4OKxEk,601
70
70
  nmdc_runtime/site/translation/util.py,sha256=w_l3SiExGsl6cXRqto0a_ssDmHkP64ITvrOVfPxmNpY,4366
71
71
  nmdc_runtime/site/validation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
- nmdc_runtime/site/validation/emsl.py,sha256=TgckqKkFquHDLso77sn-jZRu5ZaBevGCt5p8e3AqOak,670
73
- nmdc_runtime/site/validation/gold.py,sha256=kJ1L081SZb-8qKpF731r5aQOueM206SUfUYMTTNTFMc,802
74
- nmdc_runtime/site/validation/jgi.py,sha256=lBo-FCtEYedT74CpW-Kdj512Ib963ik-4YIYmY5puDo,1298
72
+ nmdc_runtime/site/validation/emsl.py,sha256=OG20mv_3E2rkQqTQtYO0_SVRqFb-Z_zKCiAVbty6Wl0,671
73
+ nmdc_runtime/site/validation/gold.py,sha256=Z5ZzYdjERbrJ2Tu06d0TDTBSfwaFdL1Z23Rl-YkZ2Ow,803
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.4.0.dist-info/LICENSE,sha256=VWiv65r7gHGjgtr3jMJYVmQny5GRpQ6H-W9sScb1x70,2408
77
- nmdc_runtime-1.4.0.dist-info/METADATA,sha256=bG02M6nS9fbyV6X4og_-korEJcraor4JB7HAoNG_B_U,7424
78
- nmdc_runtime-1.4.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
79
- nmdc_runtime-1.4.0.dist-info/entry_points.txt,sha256=nfH6-K9tDKv7va8ENfShsBnxVQoYJdEe7HHdwtkbh1Y,289
80
- nmdc_runtime-1.4.0.dist-info/top_level.txt,sha256=b0K1s09L_iHH49ueBKaLrB5-lh6cyrSv9vL6x4Qvyz8,13
81
- nmdc_runtime-1.4.0.dist-info/RECORD,,
76
+ nmdc_runtime-1.4.1.dist-info/LICENSE,sha256=VWiv65r7gHGjgtr3jMJYVmQny5GRpQ6H-W9sScb1x70,2408
77
+ nmdc_runtime-1.4.1.dist-info/METADATA,sha256=QRvSPIktGtVUNru7Eg_rMufxfkFxdKSaYv4fNwYu_q4,7424
78
+ nmdc_runtime-1.4.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
79
+ nmdc_runtime-1.4.1.dist-info/entry_points.txt,sha256=nfH6-K9tDKv7va8ENfShsBnxVQoYJdEe7HHdwtkbh1Y,289
80
+ nmdc_runtime-1.4.1.dist-info/top_level.txt,sha256=b0K1s09L_iHH49ueBKaLrB5-lh6cyrSv9vL6x4Qvyz8,13
81
+ nmdc_runtime-1.4.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5