biocypher 0.10.0__tar.gz → 0.10.1__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 (46) hide show
  1. {biocypher-0.10.0 → biocypher-0.10.1}/PKG-INFO +2 -2
  2. {biocypher-0.10.0 → biocypher-0.10.1}/README.md +1 -1
  3. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_metadata.py +1 -1
  4. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/in_memory/_airr.py +9 -1
  5. {biocypher-0.10.0 → biocypher-0.10.1}/pyproject.toml +1 -1
  6. {biocypher-0.10.0 → biocypher-0.10.1}/LICENSE +0 -0
  7. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/__init__.py +0 -0
  8. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_config/__init__.py +0 -0
  9. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_config/biocypher_config.yaml +0 -0
  10. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_config/test_config.yaml +0 -0
  11. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_config/test_schema_config.yaml +0 -0
  12. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_config/test_schema_config_disconnected.yaml +0 -0
  13. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_config/test_schema_config_extended.yaml +0 -0
  14. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_core.py +0 -0
  15. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_create.py +0 -0
  16. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_deduplicate.py +0 -0
  17. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_get.py +0 -0
  18. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_logger.py +0 -0
  19. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_mapping.py +0 -0
  20. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_misc.py +0 -0
  21. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_ontology.py +0 -0
  22. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/_translate.py +0 -0
  23. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/__init__.py +0 -0
  24. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/connect/__init__.py +0 -0
  25. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/connect/_get_connector.py +0 -0
  26. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/connect/_neo4j_driver.py +0 -0
  27. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/in_memory/__init__.py +0 -0
  28. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/in_memory/_get_in_memory_kg.py +0 -0
  29. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/in_memory/_in_memory_kg.py +0 -0
  30. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/in_memory/_networkx.py +0 -0
  31. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/in_memory/_pandas.py +0 -0
  32. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/__init__.py +0 -0
  33. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/_batch_writer.py +0 -0
  34. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/_get_writer.py +0 -0
  35. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/_writer.py +0 -0
  36. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/__init__.py +0 -0
  37. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/_airr.py +0 -0
  38. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/_arangodb.py +0 -0
  39. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/_neo4j.py +0 -0
  40. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/_networkx.py +0 -0
  41. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/_owl.py +0 -0
  42. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/graph/_rdf.py +0 -0
  43. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/relational/__init__.py +0 -0
  44. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/relational/_csv.py +0 -0
  45. {biocypher-0.10.0 → biocypher-0.10.1}/biocypher/output/write/relational/_postgresql.py +0 -0
  46. {biocypher-0.10.0 → biocypher-0.10.1}/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.10.0
3
+ Version: 0.10.1
4
4
  Summary: A unifying framework for biomedical research knowledge graphs
5
5
  Home-page: https://github.com/biocypher/biocypher
6
6
  License: MIT
@@ -81,7 +81,7 @@ Board](https://github.com/orgs/biocypher/projects/3/views/2).
81
81
 
82
82
  Install the package from PyPI using `pip install biocypher`. More comprehensive
83
83
  installation and configuration instructions can be found
84
- [here](https://biocypher.org/installation.html).
84
+ [here](https://biocypher.org/BioCypher/installation/).
85
85
 
86
86
  Exemplary usage of BioCypher to build a graph database is shown in our tutorial
87
87
  and the various pipelines we have created. You can find these on the [Components
@@ -44,7 +44,7 @@ Board](https://github.com/orgs/biocypher/projects/3/views/2).
44
44
 
45
45
  Install the package from PyPI using `pip install biocypher`. More comprehensive
46
46
  installation and configuration instructions can be found
47
- [here](https://biocypher.org/installation.html).
47
+ [here](https://biocypher.org/BioCypher/installation/).
48
48
 
49
49
  Exemplary usage of BioCypher to build a graph database is shown in our tutorial
50
50
  and the various pipelines we have created. You can find these on the [Components
@@ -10,7 +10,7 @@ import pathlib
10
10
 
11
11
  import toml
12
12
 
13
- _VERSION = "0.10.0"
13
+ _VERSION = "0.10.1"
14
14
 
15
15
 
16
16
  def get_metadata():
@@ -1,10 +1,15 @@
1
- from typing import Any, Optional
1
+ from __future__ import annotations
2
+
3
+ from typing import TYPE_CHECKING, Any, Optional
2
4
 
3
5
  from biocypher._create import BioCypherEdge, BioCypherNode
4
6
  from biocypher._deduplicate import Deduplicator
5
7
  from biocypher._logger import logger
6
8
  from biocypher.output.in_memory._in_memory_kg import _InMemoryKG
7
9
 
10
+ if TYPE_CHECKING:
11
+ from scirpy.io import AirrCell
12
+
8
13
  try:
9
14
  from scirpy.io import AirrCell
10
15
 
@@ -354,6 +359,7 @@ class AirrKG(_InMemoryKG):
354
359
  list: List of generated AIRR cells
355
360
 
356
361
  """
362
+ self._check_dependencies()
357
363
  if not entities:
358
364
  msg = "No entities provided for conversion."
359
365
  raise ValueError(msg)
@@ -419,6 +425,7 @@ class AirrKG(_InMemoryKG):
419
425
  paired: bool,
420
426
  receptor_epitope_mapping: dict[str, set] | None = None,
421
427
  ) -> list[AirrCell]:
428
+ self._check_dependencies()
422
429
  cell = AirrCell(cell_id=cell_id)
423
430
 
424
431
  # Process both chains
@@ -464,6 +471,7 @@ class AirrKG(_InMemoryKG):
464
471
  List of cells with metadata added
465
472
 
466
473
  """
474
+ self._check_dependencies()
467
475
  cells = []
468
476
  if not metadata_nodes:
469
477
  cell["data_source"] = "BioCypher"
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "biocypher"
3
- version = "0.10.0"
3
+ version = "0.10.1"
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