phc-ingestion 0.10.13__py3-none-any.whl → 0.10.14__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.
@@ -154,7 +154,7 @@ class ManifestAssembler:
154
154
  except Exception as e:
155
155
  return None
156
156
 
157
- def __extract_report_date(self) -> dict[str, str]:
157
+ def __extract_collection_date(self) -> dict[str, str]:
158
158
  in_file = self.vcf_file_path
159
159
  with gzip.open(in_file, "rt") if in_file.endswith(".gz") else open(in_file, "r") as f:
160
160
  headers = read_headers(f)
@@ -173,7 +173,7 @@ class ManifestAssembler:
173
173
  report_date = epoch_time or date_string
174
174
  if report_date:
175
175
  return {
176
- "reportDate": report_date.astimezone(tz=timezone.utc)
176
+ "collDate": report_date.astimezone(tz=timezone.utc)
177
177
  .isoformat(timespec="milliseconds")
178
178
  .replace("+00:00", "Z")
179
179
  }
@@ -204,7 +204,7 @@ class ManifestAssembler:
204
204
  return {
205
205
  "name": "Nebula",
206
206
  "indexedDate": datetime.now().strftime("%Y-%m-%d"),
207
- **self.__extract_report_date(),
207
+ **self.__extract_collection_date(),
208
208
  "reference": "GRCh38",
209
209
  "patientId": patient.get("id"),
210
210
  "mrn": self.__extract_elation_mrn(patient),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phc-ingestion
3
- Version: 0.10.13
3
+ Version: 0.10.14
4
4
  Summary: Functions for LifeOmic PHC genomic ingestions
5
5
  License: MIT
6
6
  Author-email: LifeOmic Development <development@lifeomic.com>
@@ -28,7 +28,7 @@ ingestion/generic/process.py,sha256=ZaVnZ_gx9faDUsuresI1A0oCegTa-dPQT7DBFMeZGyY,
28
28
  ingestion/generic/utils.py,sha256=1MEIru7uq38IjUdL8lcHqDH0oTki9uWrz1f2e-pmRoU,2814
29
29
  ingestion/nebula/__init__.py,sha256=VauK-rup_N8ZXVohx3HYqHX_PE_WoPyMUhdv2R7al4o,45
30
30
  ingestion/nebula/constants.py,sha256=thKqSwemdaAwAmKvF4FEVI9l1Ph5ergsnMlx6nWte7E,357
31
- ingestion/nebula/manifest_assembler.py,sha256=4lVZGiUc8DBkxb2W6zWOoX3azJf0VUMWYC20-T7wDNA,7989
31
+ ingestion/nebula/manifest_assembler.py,sha256=kcRSy6pixHkuVEK9QSoM-i6ZdLWMSYXw39eKGHvam34,7995
32
32
  ingestion/nebula/process.py,sha256=N9OuipynGV_XgEL3nO5I_-di1tk9szOy8LqsyNTw0E0,2323
33
33
  ingestion/nextgen/__init__.py,sha256=7LQ-h_Bvc5P1QcHMdzsqi1Qm4fTJn04-ozar2ty9wSc,59
34
34
  ingestion/nextgen/process.py,sha256=5Z0RfclwTAYZruGDiLPutjPCYFh1DJpoWY9dnttghT4,3993
@@ -59,6 +59,6 @@ ingestion/vcf_standardization/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
59
59
  ingestion/vcf_standardization/util/af_helpers.py,sha256=dpTzoeIQVeBRt0ETF3a9rp5ojZqznHg4x_hCZ8OPcOg,1061
60
60
  ingestion/vcf_standardization/util/dp_helpers.py,sha256=Nq8oLOLObu4_pv16qwwgpALRlUoJVCULrd9cFOD-eoI,823
61
61
  ingestion/vcf_standardization/util/read_write.py,sha256=x3Pf6Dq8tmolblbCS5CrNmrcHS3FGfqBSFpFgvFGC4g,2526
62
- phc_ingestion-0.10.13.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
63
- phc_ingestion-0.10.13.dist-info/METADATA,sha256=7CQQcYy4OIzsmQ-0mv5ZiO1KV9npZF62M61s2633IS0,678
64
- phc_ingestion-0.10.13.dist-info/RECORD,,
62
+ phc_ingestion-0.10.14.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
63
+ phc_ingestion-0.10.14.dist-info/METADATA,sha256=eFtKLSIUt-CxYzOq3I9SsNeg_bb2jw6VByiE6mM0ZD8,678
64
+ phc_ingestion-0.10.14.dist-info/RECORD,,