Skip to content

Commit

Permalink
single source of version
Browse files Browse the repository at this point in the history
  • Loading branch information
digicosmos86 committed Sep 8, 2023
1 parent 8a4ee5e commit 3f821c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 0 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ HSSM is a Python toolbox that provides a seamless combination of state-of-the-ar

**License**: HSSM is licensed under [Copyright 2023, Brown University, Providence, RI](../LICENSE)

**Version**: 0.1.5

- Allows approximate hierarchical Bayesian inference via various likelihood approximators.
- Estimate impact of neural and other trial-by-trial covariates via native hierarchical mixed-regression support.
- Extensible for users to add novel models with corresponding likelihoods.
Expand Down
11 changes: 4 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "HSSM"
version = "0.1.4"
description = ""
version = "0.1.5"
description = "Bayesian inference for hierarchical sequential sampling models."
authors = [
"Alexander Fengler <[email protected]>",
"Paul Xu <[email protected]>",
Expand All @@ -28,6 +28,7 @@ huggingface-hub = "^0.15.1"
onnxruntime = "^1.15.0"
bambi = "^0.12.0"
numpyro = "^0.12.1"
hddm-wfpt = "^0.1.1"

[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
Expand Down Expand Up @@ -176,10 +177,6 @@ convention = "numpy"
[tool.mypy]
ignore_missing_imports = true

[tool.poetry.build]
generate-setup-file = false
script = "build.py"

[build-system]
requires = ["poetry-core", "Cython", "numpy"]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
3 changes: 2 additions & 1 deletion src/hssm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""HSSM - Hierarchical Sequential Sampling Models."""

import importlib.metadata
import logging
import sys

Expand All @@ -17,7 +18,7 @@
handler = logging.StreamHandler(stream=sys.stdout)
_logger.addHandler(handler)

__version__ = "0.1.5"
__version__ = importlib.metadata.version(__package__ or __name__)

__all__ = [
"HSSM",
Expand Down

0 comments on commit 3f821c1

Please sign in to comment.