biocypher 0.9.5__tar.gz → 0.9.7__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 (44) hide show
  1. {biocypher-0.9.5 → biocypher-0.9.7}/PKG-INFO +2 -2
  2. {biocypher-0.9.5 → biocypher-0.9.7}/README.md +1 -1
  3. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_metadata.py +1 -1
  4. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_translate.py +5 -8
  5. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/graph/_neo4j.py +1 -3
  6. {biocypher-0.9.5 → biocypher-0.9.7}/pyproject.toml +2 -2
  7. {biocypher-0.9.5 → biocypher-0.9.7}/LICENSE +0 -0
  8. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/__init__.py +0 -0
  9. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_config/__init__.py +0 -0
  10. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_config/biocypher_config.yaml +0 -0
  11. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_config/test_config.yaml +0 -0
  12. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_config/test_schema_config.yaml +0 -0
  13. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_config/test_schema_config_disconnected.yaml +0 -0
  14. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_config/test_schema_config_extended.yaml +0 -0
  15. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_core.py +0 -0
  16. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_create.py +0 -0
  17. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_deduplicate.py +0 -0
  18. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_get.py +0 -0
  19. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_logger.py +0 -0
  20. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_mapping.py +0 -0
  21. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_misc.py +0 -0
  22. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/_ontology.py +0 -0
  23. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/__init__.py +0 -0
  24. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/connect/__init__.py +0 -0
  25. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/connect/_get_connector.py +0 -0
  26. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/connect/_neo4j_driver.py +0 -0
  27. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/in_memory/__init__.py +0 -0
  28. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/in_memory/_get_in_memory_kg.py +0 -0
  29. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/in_memory/_in_memory_kg.py +0 -0
  30. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/in_memory/_networkx.py +0 -0
  31. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/in_memory/_pandas.py +0 -0
  32. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/__init__.py +0 -0
  33. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/_batch_writer.py +0 -0
  34. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/_get_writer.py +0 -0
  35. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/_writer.py +0 -0
  36. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/graph/__init__.py +0 -0
  37. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/graph/_arangodb.py +0 -0
  38. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/graph/_networkx.py +0 -0
  39. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/graph/_owl.py +0 -0
  40. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/graph/_rdf.py +0 -0
  41. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/relational/__init__.py +0 -0
  42. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/relational/_csv.py +0 -0
  43. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/relational/_postgresql.py +0 -0
  44. {biocypher-0.9.5 → biocypher-0.9.7}/biocypher/output/write/relational/_sqlite.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: biocypher
3
- Version: 0.9.5
3
+ Version: 0.9.7
4
4
  Summary: A unifying framework for biomedical research knowledge graphs
5
5
  Home-page: https://github.com/biocypher/biocypher
6
6
  License: MIT
@@ -62,7 +62,7 @@ the docs [here](https://biocypher.org).
62
62
  margin-left: auto;
63
63
  margin-right: auto;
64
64
  width: 70%;"
65
- src="docs/graphical_abstract.png"
65
+ src="docs/assets/img/graphical-abstract-biocypher.png"
66
66
  alt="Graphical Abstract">
67
67
  </img>
68
68
 
@@ -27,7 +27,7 @@ the docs [here](https://biocypher.org).
27
27
  margin-left: auto;
28
28
  margin-right: auto;
29
29
  width: 70%;"
30
- src="docs/graphical_abstract.png"
30
+ src="docs/assets/img/graphical-abstract-biocypher.png"
31
31
  alt="Graphical Abstract">
32
32
  </img>
33
33
 
@@ -10,7 +10,7 @@ import pathlib
10
10
 
11
11
  import toml
12
12
 
13
- _VERSION = "0.9.5"
13
+ _VERSION = "0.9.7"
14
14
 
15
15
 
16
16
  def get_metadata():
@@ -37,15 +37,12 @@ class Translator:
37
37
 
38
38
  Args:
39
39
  ----
40
- leaves:
41
- Dictionary detailing the leaves of the hierarchy
42
- tree representing the structure of the graph; the leaves are
43
- the entities that will be direct components of the graph,
44
- while the intermediary nodes are additional labels for
45
- filtering purposes.
40
+ ontology (Ontology): An Ontology object providing schema and mapping details.
46
41
  strict_mode:
47
- If True, the translator will raise an error if input data do not
48
- carry source, licence, and version information.
42
+ strict_mode (bool, optional): If True, enforces that every node and edge carries
43
+ the required 'source', 'licence', and 'version' properties. Raises ValueError
44
+ if these are missing. Defaults to False.
45
+
49
46
 
50
47
  """
51
48
  self.ontology = ontology
@@ -278,9 +278,7 @@ class _Neo4jBatchWriter(_BatchWriter):
278
278
  """
279
279
  import_call_neo4j_v4 = self._get_import_call("import", "--database=", "--force=")
280
280
  import_call_neo4j_v5 = self._get_import_call("database import full", "", "--overwrite-destination=")
281
- neo4j_version_check = (
282
- f"version=$({self._get_default_import_call_bin_prefix()}neo4j-admin --version | cut -d '.' -f 1)"
283
- )
281
+ neo4j_version_check = f"version=$({self.import_call_bin_prefix}neo4j-admin --version | cut -d '.' -f 1)"
284
282
 
285
283
  import_script = (
286
284
  f"#!/bin/bash\n{neo4j_version_check}\nif [[ $version -ge 5 ]]; "
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "biocypher"
3
- version = "0.9.5"
3
+ version = "0.9.7"
4
4
  description = "A unifying framework for biomedical research knowledge graphs"
5
5
  authors = [
6
6
  "Sebastian Lobentanzer <sebastian.lobentanzer@gmail.com>",
@@ -59,7 +59,7 @@ hypothesis = "^6.50.1"
59
59
  ipython = "^8.7.0"
60
60
  ipykernel = "^6.23.1"
61
61
  coverage-badge = "^1.1.0"
62
- nbsphinx = "^0.9.5"
62
+ nbsphinx = "^0.9.7"
63
63
  ruff = "^0.2.0"
64
64
  mike = "^2.1.3"
65
65
 
File without changes
File without changes
File without changes
File without changes