biocypher 0.5.30__tar.gz → 0.5.31__tar.gz

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.

Files changed (24) hide show
  1. {biocypher-0.5.30 → biocypher-0.5.31}/PKG-INFO +1 -1
  2. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_core.py +1 -1
  3. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_mapping.py +1 -1
  4. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_metadata.py +1 -1
  5. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_ontology.py +2 -2
  6. {biocypher-0.5.30 → biocypher-0.5.31}/pyproject.toml +1 -1
  7. {biocypher-0.5.30 → biocypher-0.5.31}/LICENSE +0 -0
  8. {biocypher-0.5.30 → biocypher-0.5.31}/README.md +0 -0
  9. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/__init__.py +0 -0
  10. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_config/__init__.py +0 -0
  11. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_config/biocypher_config.yaml +0 -0
  12. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_config/test_config.yaml +0 -0
  13. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_config/test_schema_config.yaml +0 -0
  14. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_config/test_schema_config_disconnected.yaml +0 -0
  15. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_config/test_schema_config_extended.yaml +0 -0
  16. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_connect.py +0 -0
  17. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_create.py +0 -0
  18. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_deduplicate.py +0 -0
  19. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_get.py +0 -0
  20. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_logger.py +0 -0
  21. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_misc.py +0 -0
  22. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_pandas.py +0 -0
  23. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_translate.py +0 -0
  24. {biocypher-0.5.30 → biocypher-0.5.31}/biocypher/_write.py +0 -0
@@ -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
@@ -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(
@@ -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"):
@@ -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():
@@ -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
  [tool.poetry]
2
2
  name = "biocypher"
3
- version = "0.5.30"
3
+ version = "0.5.31"
4
4
  description = "A unifying framework for biomedical research knowledge graphs"
5
5
  authors = [
6
6
  "Sebastian Lobentanzer <sebastian.lobentanzer@gmail.com>",
File without changes
File without changes
File without changes