Skip to content

Commit

Permalink
#7: update BioCypher version
Browse files Browse the repository at this point in the history
  • Loading branch information
nilskre committed Mar 14, 2024
1 parent f018f14 commit 63a6893
Show file tree
Hide file tree
Showing 7 changed files with 498 additions and 241 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ speed_test
.DS_Store
*.swp
.venv
.idea
4 changes: 2 additions & 2 deletions ckgb/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def __init__(

# read driver
self.driver = nu.Driver(
db_name="neo4j",
db_name="graph.db",
db_uri="bolt://localhost:7687",
db_user="neo4j",
db_passwd="your_password_here",
db_passwd="testtest",
multi_db=False,
max_connection_lifetime=7200,
)
Expand Down
715 changes: 489 additions & 226 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[tool.poetry]
name = "ckg"
version = "0.1.0"
version = "0.2.0"
description = "CKG migration to BioCypher"
authors = ["Sebastian Lobentanzer <sebastian.lobentanzer@gmail.com>"]

[tool.poetry.dependencies]
python = "^3.9"
pandas = "^1.4.3"
# biocypher = {path = "../BioCypher", develop = true}
biocypher = "^0.5.4"
pandas = "^2.0.1"
biocypher = "^0.5.38"

[tool.poetry.dev-dependencies]

Expand Down
4 changes: 1 addition & 3 deletions scripts/embedding_ckg_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@

# convenience and import stats
bc.write_import_call()
bc.log_missing_bl_types()
bc.log_duplicates()
bc.show_ontology_structure()
bc.summary()
4 changes: 1 addition & 3 deletions scripts/full_ckg_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@

# convenience and import stats
bc.write_import_call()
bc.log_missing_bl_types()
bc.log_duplicates()
bc.show_ontology_structure()
bc.summary()
4 changes: 1 addition & 3 deletions scripts/subset_ckg_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,4 @@

# convenience and import stats
bc.write_import_call()
bc.log_missing_bl_types()
bc.log_duplicates()
bc.show_ontology_structure()
bc.summary()

0 comments on commit 63a6893

Please sign in to comment.