Skip to content

Commit

Permalink
move stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Mar 29, 2024
1 parent 69c0a2c commit 3dfee5f
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pytest.ini
.DS_Store

# data files
metakb/data/*
src/metakb/data/*
analysis/graph/*.json
analysis/graph/*.ipynb

Expand Down
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ disease-normalizer = {version = "~=0.4.0.dev3", extras = ["etl"]}
thera-py = {version = "~=0.5.0.dev3", extras = ["etl"]}
civicpy = "~=3.0.0"
requests = "*"
jsondiff = "*"
pydantic = "==2.*"
requests-cache = "*"
neo4j = "==5.*"
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = metakb
name = "metakb"
authors = [
{name = "Alex H Wagner"},
{name = "Kori Kuzma"},
Expand Down Expand Up @@ -32,7 +32,6 @@ dependencies = [
"disease-normalizer[etl]~=0.4.0.dev0",
"thera-py[etl]~=0.5.0.dev1",
"requests",
"jsondiff",
"pydantic~=2.1",
"requests-cache",
"neo4j",
Expand All @@ -46,7 +45,7 @@ dynamic = ["version"]

[project.optional-dependencies]
tests = ["pytest", "pytest-cov", "mock", "pytest-asyncio"]
dev = ["pre-commit", "flake8", "flake8-docstrings", "ipykernel"]
dev = ["pre-commit", "flake8", "flake8-docstrings"]

[project.urls]
Homepage = "https://github.com/cancervariants/metakb"
Expand All @@ -68,7 +67,7 @@ version = {attr = "metakb.version.__version__"}
where = ["src"]

[tool.pytest.ini_options]
addopts = "--cov=src --cov-report term-missing"
addopts = "--cov=src --cov-report term-missing --ignore=codebuild/"
testpaths = ["tests"]

[tool.coverage.run]
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions metakb/cli.py → src/metakb/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def update_metakb_db(
g.close()
end = timer()
echo_info(
f"Successfully loaded neo4j database in {(end-start):.5f} s\n"
f"Successfully loaded neo4j database in {(end - start):.5f} s\n"
)

s3_cdm_pattern = re.compile(
Expand Down Expand Up @@ -288,7 +288,7 @@ async def _transform_sources() -> None:
total_end = timer()
echo_info(
f"Successfully transformed all sources to CDM in "
f"{(total_end-total_start):.5f} s\n"
f"{(total_end - total_start):.5f} s\n"
)

def _load_normalizers_db(self, load_normalizer_db):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3dfee5f

Please sign in to comment.