Skip to content

Commit 92e2448

Browse files
committed
Merge branch 'main' into feat/anyvar-http-client
2 parents 922bcb3 + 9b26cfc commit 92e2448

File tree

24 files changed

+52
-49
lines changed

24 files changed

+52
-49
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @GenomicMedLab/vlm-in-a-box-maintainers
1+
* @GenomicMedLab/anyvlm-maintainers

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ipython_config.py
8585
# pyenv
8686
# For a library or package, you might want to ignore these files since the code is
8787
# intended to run in multiple environments; otherwise, check them in:
88-
# .python-version
88+
.python-version
8989

9090
# pipenv
9191
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
@@ -199,7 +199,7 @@ cython_debug/
199199
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
200200
# and can be added to the global gitignore or merged into this file. However, if you prefer,
201201
# you could uncomment the following to ignore the entire vscode folder
202-
# .vscode/
202+
.vscode/
203203

204204
# Ruff stuff:
205205
.ruff_cache/
@@ -217,3 +217,6 @@ __marimo__/
217217

218218
# uv
219219
uv.lock
220+
221+
# Mac things:
222+
.DS_Store

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SHELL:=/bin/bash -e -o pipefail
99
SELF:=$(firstword $(MAKEFILE_LIST))
1010

11-
PKG=vlm
11+
PKG=anyvlm
1212
PKGD=$(subst .,/,${PKG})
1313
PYV:=3.11
1414
VEDIR=venv/${PYV}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# VLM in a Box
1+
# AnyVLM

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "vlm"
2+
name = "anyvlm"
33
authors = [
44
{ name="biocommons contributors", email="[email protected]" },
55
]
@@ -46,14 +46,14 @@ dev = [
4646
]
4747

4848
[project.urls]
49-
Homepage = "https://github.com/genomicmedlab/vlm_in_a_box"
50-
Documentation = "https://github.com/genomicmedlab/vlm_in_a_box/"
51-
Changelog = "https://github.com/genomicmedlab/vlm_in_a_box/releases"
52-
Source = "https://github.com/genomicmedlab/vlm_in_a_box/"
53-
"Bug Tracker" = "https://github.com/genomicmedlab/vlm_in_a_box/issues"
49+
Homepage = "https://github.com/genomicmedlab/anyvlm"
50+
Documentation = "https://github.com/genomicmedlab/anyvlm/"
51+
Changelog = "https://github.com/genomicmedlab/anyvlm/releases"
52+
Source = "https://github.com/genomicmedlab/anyvlm/"
53+
"Bug Tracker" = "https://github.com/genomicmedlab/anyvlm/issues"
5454

5555
[project.scripts]
56-
vlm = "vlm.cli:_cli"
56+
anyvlm = "anyvlm.cli:_cli"
5757

5858

5959
[build-system]
@@ -66,7 +66,7 @@ build-backend = "setuptools.build_meta"
6666
[tool.setuptools_scm]
6767

6868
[tool.pytest.ini_options]
69-
addopts = "--cov=vlm --cov-report term-missing"
69+
addopts = "--cov=anyvlm --cov-report term-missing"
7070
testpaths = ["tests"]
7171
pythonpath = ["src"]
7272

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from importlib.metadata import PackageNotFoundError, version
44

55
try:
6-
__version__ = version("vlm")
6+
__version__ = version("anyvlm")
77
except PackageNotFoundError:
88
__version__ = "unknown"
99
finally:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
"""Provide abstraction for a VLM-to-AnyVar connection."""
1+
"""Provide abstraction for a AnyVLM-to-AnyVar connection."""
22

33
import abc
44

55
from anyvar.utils.types import VrsObject
66

7-
from vlm.schemas.domain import AlleleFrequencyAnnotation
7+
from anyvlm.schemas.domain import AlleleFrequencyAnnotation
88

99
# define constant to use as AnyVar annotation type
1010
AF_ANNOTATION_TYPE = "cohort_allele_frequency"

src/anyvlm/cli.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""CLI for interacting with AnyVLM instance"""
2+
3+
import click
4+
5+
import anyvlm
6+
7+
8+
@click.version_option(anyvlm.__version__)
9+
@click.group()
10+
def _cli() -> None:
11+
"""Manage AnyVLM data."""
12+
13+
14+
@_cli.command()
15+
def ingest_vcf() -> None:
16+
"""Deposit variants and allele frequencies from VCF into AnyVLM instance"""
17+
raise NotImplementedError

0 commit comments

Comments
 (0)