Skip to content

Commit 842d211

Browse files
authored
Update __init__.py
1 parent 47ce113 commit 842d211

1 file changed

Lines changed: 40 additions & 4 deletions

File tree

ragulate_bio/__init__.py

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,61 @@
11
# ragulate_bio/__init__.py
2-
__all__ = ["about"]
3-
__version__ = "1.0.1"
2+
3+
__version__ = "1.1.0"
44

55
def about():
66
return {
77
"name": "Ragulate-Bio",
88
"version": __version__,
9-
"summary": "Retrieval augmented validation for TF inference in single cell biology"
9+
"summary": "Retrieval augmented validation for TF inference in single cell biology",
1010
}
1111

12+
# Expose public submodules
13+
from . import (
14+
config,
15+
state,
16+
logging_utils,
17+
embedding,
18+
retrieval,
19+
llm_models,
20+
rag,
21+
metrics,
22+
pipeline,
23+
io_utils,
24+
plots,
25+
)
26+
27+
__all__ = [
28+
"about",
29+
"__version__",
30+
"config",
31+
"state",
32+
"logging_utils",
33+
"embedding",
34+
"retrieval",
35+
"llm_models",
36+
"rag",
37+
"metrics",
38+
"pipeline",
39+
"io_utils",
40+
"plots",
41+
]
42+
1243
# Optional gentle conflict warning so users know about the other 'ragulate'
1344
def _warn_if_conflicting():
1445
try:
1546
import importlib.metadata as im
47+
1648
names = {d.metadata["Name"].lower() for d in im.distributions()}
1749
if "ragulate" in names:
1850
import warnings
51+
1952
warnings.warn(
2053
"Another package named 'ragulate' is installed. "
2154
"Use 'import ragulate_bio' for this package."
2255
)
2356
except Exception:
2457
pass
25-
_warn_if_conflicting(); del _warn_if_conflicting
58+
59+
60+
_warn_if_conflicting()
61+
del _warn_if_conflicting

0 commit comments

Comments
 (0)