biocypher 0.9.3__py3-none-any.whl → 0.9.4__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 biocypher might be problematic. Click here for more details.
- biocypher/_core.py +4 -4
- biocypher/_metadata.py +1 -1
- {biocypher-0.9.3.dist-info → biocypher-0.9.4.dist-info}/METADATA +1 -1
- {biocypher-0.9.3.dist-info → biocypher-0.9.4.dist-info}/RECORD +6 -6
- {biocypher-0.9.3.dist-info → biocypher-0.9.4.dist-info}/LICENSE +0 -0
- {biocypher-0.9.3.dist-info → biocypher-0.9.4.dist-info}/WHEEL +0 -0
biocypher/_core.py
CHANGED
|
@@ -301,7 +301,7 @@ class BioCypher:
|
|
|
301
301
|
|
|
302
302
|
return self._translator
|
|
303
303
|
|
|
304
|
-
def
|
|
304
|
+
def _initialize_writer(self) -> None:
|
|
305
305
|
"""Create writer if not online.
|
|
306
306
|
|
|
307
307
|
Set as instance variable `self._writer`.
|
|
@@ -328,8 +328,6 @@ class BioCypher:
|
|
|
328
328
|
msg = "Cannot get writer in online mode."
|
|
329
329
|
raise NotImplementedError(msg)
|
|
330
330
|
|
|
331
|
-
return self._writer
|
|
332
|
-
|
|
333
331
|
def _get_driver(self):
|
|
334
332
|
"""Create driver if not exists.
|
|
335
333
|
|
|
@@ -385,7 +383,9 @@ class BioCypher:
|
|
|
385
383
|
translated_nodes = self._translator.translate_entities(nodes)
|
|
386
384
|
|
|
387
385
|
if self._offline:
|
|
388
|
-
|
|
386
|
+
if not self._writer:
|
|
387
|
+
self._initialize_writer()
|
|
388
|
+
passed = self._writer.write_nodes(
|
|
389
389
|
translated_nodes,
|
|
390
390
|
batch_size=batch_size,
|
|
391
391
|
force=force,
|
biocypher/_metadata.py
CHANGED
|
@@ -5,13 +5,13 @@ biocypher/_config/test_config.yaml,sha256=Np8jeS5_EP6HHOvMKb7B_Tkyqd5YaYlYz_DVsX
|
|
|
5
5
|
biocypher/_config/test_schema_config.yaml,sha256=D1600WgEj3iTXrumVU9LIivJHJO36iaxfkOgyam9zVU,3129
|
|
6
6
|
biocypher/_config/test_schema_config_disconnected.yaml,sha256=Qm8FLxEn2spHcyj_5F859KjcDvKSxNhxDvi4b4LLkvQ,68
|
|
7
7
|
biocypher/_config/test_schema_config_extended.yaml,sha256=wn3A76142hhjnImhMF6RODbCFESTJ2TtPvcFdIFsAT0,3309
|
|
8
|
-
biocypher/_core.py,sha256=
|
|
8
|
+
biocypher/_core.py,sha256=lP5CC35oXPtfiFY3C-UxZev8p1nMg9E2E4qN5BD9BTg,27437
|
|
9
9
|
biocypher/_create.py,sha256=QsvXrwEQ8k0uNXvCG06UKejvw-QsJwzSaumrBjx9n1k,9884
|
|
10
10
|
biocypher/_deduplicate.py,sha256=rtglcaLRaVzNjLtaPwTGP8VvCM4PHYQ5CZ-cm32CrKQ,4840
|
|
11
11
|
biocypher/_get.py,sha256=BDNnvw6Xbz_Lq0ekU1Y60J4DI1zQKiZugJV6zGnWPsI,14873
|
|
12
12
|
biocypher/_logger.py,sha256=y9dh3SPJOCWXnkFSYSK7aj_-pB7zlAkNCf43Dp1lt74,2941
|
|
13
13
|
biocypher/_mapping.py,sha256=ntspG2C_NaQODhWTBFk0CDvolkOCjtqlQ9E-NkJAuTg,9030
|
|
14
|
-
biocypher/_metadata.py,sha256=
|
|
14
|
+
biocypher/_metadata.py,sha256=BUH21dOZRsE7nvKZhWyqRfIp1j1ZqzsfMf8EVi7P-ok,1415
|
|
15
15
|
biocypher/_misc.py,sha256=YzlY7zwa0mim9QFg9HwXErkJFIH3cvLrbgjF8tKOIT8,6353
|
|
16
16
|
biocypher/_ontology.py,sha256=lipZxU3aj6zrTbBrJZmCW6IRCuz-KQG3AfbYCVq6aFE,33133
|
|
17
17
|
biocypher/_translate.py,sha256=9E19eLRL0VnxxDuiNhZ5vu54XyKXnfLuBhCgNcL9yAE,17000
|
|
@@ -38,7 +38,7 @@ biocypher/output/write/relational/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
|
|
|
38
38
|
biocypher/output/write/relational/_csv.py,sha256=m0BSQXts88Qu5AEvoIgnwRz54ia38g4VN3PaA3LCYM8,2807
|
|
39
39
|
biocypher/output/write/relational/_postgresql.py,sha256=RckQJBiuwvDmHAyXxS8zCavYqDecHHWW_piofurokfQ,11965
|
|
40
40
|
biocypher/output/write/relational/_sqlite.py,sha256=BuGWOeeNA83lbUvjpkzqcR9_baWLsbfmLXBKe4O1EPE,2105
|
|
41
|
-
biocypher-0.9.
|
|
42
|
-
biocypher-0.9.
|
|
43
|
-
biocypher-0.9.
|
|
44
|
-
biocypher-0.9.
|
|
41
|
+
biocypher-0.9.4.dist-info/LICENSE,sha256=oejgxuxyjSnyPw3YPloz6-dCBB_nYizJ4jDQnr-xZUU,1082
|
|
42
|
+
biocypher-0.9.4.dist-info/METADATA,sha256=0RHGsElP0N8_NFH_NtFR4aHhfT-WmPBhlrkDYo9DRfU,10600
|
|
43
|
+
biocypher-0.9.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
44
|
+
biocypher-0.9.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|