biocypher 0.5.30__py3-none-any.whl → 0.5.31__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 CHANGED
@@ -181,7 +181,7 @@ class BioCypher:
181
181
  """
182
182
 
183
183
  if not self._schema_config_path:
184
- return None
184
+ self._ontology_mapping = OntologyMapping()
185
185
 
186
186
  if not self._ontology_mapping:
187
187
  self._ontology_mapping = OntologyMapping(
biocypher/_mapping.py CHANGED
@@ -40,7 +40,7 @@ class OntologyMapping:
40
40
  Read the configuration file and store the ontology mapping and extensions.
41
41
  """
42
42
  if config_file is None:
43
- schema_config = _config.module_data("schema_config")
43
+ schema_config = {}
44
44
 
45
45
  # load yaml file from web
46
46
  elif config_file.startswith("http"):
biocypher/_metadata.py CHANGED
@@ -19,7 +19,7 @@ import importlib.metadata
19
19
 
20
20
  import toml
21
21
 
22
- _VERSION = "0.5.30"
22
+ _VERSION = "0.5.31"
23
23
 
24
24
 
25
25
  def get_metadata():
biocypher/_ontology.py CHANGED
@@ -571,7 +571,7 @@ class Ontology:
571
571
  else:
572
572
  msg = f"Showing ontology structure based on {len(self._tail_ontology_meta)+1} ontologies: "
573
573
 
574
- print(msg)
574
+ logger.info(msg)
575
575
 
576
576
  if not full:
577
577
  # set of leaves and their intermediate parents up to the root
@@ -600,7 +600,7 @@ class Ontology:
600
600
  f"{self.mapping.extended_schema[node].get('synonym_for')}"
601
601
  )
602
602
 
603
- tree.show()
603
+ logger.info(f"\n{tree}")
604
604
 
605
605
  return tree
606
606
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biocypher
3
- Version: 0.5.30
3
+ Version: 0.5.31
4
4
  Summary: A unifying framework for biomedical research knowledge graphs
5
5
  Home-page: https://github.com/biocypher/biocypher
6
6
  License: MIT
@@ -6,19 +6,19 @@ biocypher/_config/test_schema_config.yaml,sha256=D1600WgEj3iTXrumVU9LIivJHJO36ia
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
8
  biocypher/_connect.py,sha256=0oSyO6CEIlKL8rHo-HHE7y0FzGfSi4vnEXSDy1TnIUE,12456
9
- biocypher/_core.py,sha256=xDMIdpDXffUzUygC8B3GzXTGLvFH6dqTs39ele68VFE,22270
9
+ biocypher/_core.py,sha256=2o3hhhM6kfaZI6TU3ZmzoBJc-RJgFFGWGe0MZW-oA3U,22301
10
10
  biocypher/_create.py,sha256=vpUchUdEpWupZi1LgFLxAWMtqoBwnWbP7PwEDUCBS4A,10202
11
11
  biocypher/_deduplicate.py,sha256=BBvfpXzu6L5YDY5FdtXxnf8YlsbJpbCE8RdUoKsm0n0,4949
12
12
  biocypher/_get.py,sha256=HrJuBm_i9zfi_Mzzi1s5kp0OyPh_oKQk0wwyYsxg0qA,9189
13
13
  biocypher/_logger.py,sha256=rEn_-ESh9cPxk6vdWZ1a25escCWHBWX4D1gtpNowyvI,3186
14
- biocypher/_mapping.py,sha256=XJZjmXTPnXVkyub1ZU0h3EKXQ2YROaGaJOaGyPMqgy4,9338
15
- biocypher/_metadata.py,sha256=uhKcqAgegfsACy-ebv23rGzCNVhgBfN7a5aKDhm1EU8,1658
14
+ biocypher/_mapping.py,sha256=ERSNH2Bg19145KytxbFE4BInPaiP-LWW7osOBot29Eo,9304
15
+ biocypher/_metadata.py,sha256=kpXUxF5Umh3tsT9xxcrntbPWxL38kATPLhgrqRNV1cs,1658
16
16
  biocypher/_misc.py,sha256=wsjGVOqBDVM5hxbE_TEaZ69u1kJc8HXwRAtQHUgE8XQ,4545
17
- biocypher/_ontology.py,sha256=zqHHwfy0BM1lhtNuG4ldy4Mpycss5DKPDH_5GsTs8Bk,22991
17
+ biocypher/_ontology.py,sha256=lIEHtdUGPFVbj7jrojwHNmP2-KJlXSET8bqVLRam3vI,23010
18
18
  biocypher/_pandas.py,sha256=GVCFM68J7yBjh40MpkNVgD8qT1RFMrrIjMOtD3iKsf4,3040
19
19
  biocypher/_translate.py,sha256=nj4Y60F0U3JBH36N2dh5pFcC8Ot86rskJ2ChJwje9dI,16494
20
20
  biocypher/_write.py,sha256=nvb75OwElu8fLUp0FjEBqQ1VNpx6iRrk-t7v_TOlDhg,68165
21
- biocypher-0.5.30.dist-info/LICENSE,sha256=SjUaQkq671iQUZOxEUpC4jvJxXOlfSiHTTueyz9kXJM,1065
22
- biocypher-0.5.30.dist-info/METADATA,sha256=2_eNgfnwrwxBN4S_SfTFxBdYSmBvX7opXE4DS9RVZT8,10274
23
- biocypher-0.5.30.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
24
- biocypher-0.5.30.dist-info/RECORD,,
21
+ biocypher-0.5.31.dist-info/LICENSE,sha256=SjUaQkq671iQUZOxEUpC4jvJxXOlfSiHTTueyz9kXJM,1065
22
+ biocypher-0.5.31.dist-info/METADATA,sha256=Kzl2LeK_Y4Ul8bzzfPzYv7aXEjAohoQqfRJO_GdFhXs,10274
23
+ biocypher-0.5.31.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
24
+ biocypher-0.5.31.dist-info/RECORD,,