Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import importlib.metadata

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import os
Expand Down
31 changes: 24 additions & 7 deletions pySEQTarget/SEQuential.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,36 @@
import numpy as np
import polars as pl

from .analysis import (_calculate_hazard, _calculate_survival, _outcome_fit,
_pred_risk, _risk_estimates, _subgroup_fit)
from .analysis import (
_calculate_hazard,
_calculate_survival,
_outcome_fit,
_pred_risk,
_risk_estimates,
_subgroup_fit,
)
from .error import _datachecker, _param_checker
from .expansion import _binder, _diagnostics, _dynamic, _random_selection
from .helpers import _col_string, _format_time, bootstrap_loop
from .initialization import (_cense_denominator, _cense_numerator,
_denominator, _numerator, _outcome)
from .initialization import (
_cense_denominator,
_cense_numerator,
_denominator,
_numerator,
_outcome,
)
from .plot import _survival_plot
from .SEQopts import SEQopts
from .SEQoutput import SEQoutput
from .weighting import (_fit_denominator, _fit_LTFU, _fit_numerator,
_weight_bind, _weight_predict, _weight_setup,
_weight_stats)
from .weighting import (
_fit_denominator,
_fit_LTFU,
_fit_numerator,
_weight_bind,
_weight_predict,
_weight_setup,
_weight_stats,
)


class SEQuential:
Expand Down
3 changes: 1 addition & 2 deletions pySEQTarget/analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
from ._risk_estimates import _risk_estimates as _risk_estimates
from ._subgroup_fit import _subgroup_fit as _subgroup_fit
from ._survival_pred import _calculate_survival as _calculate_survival
from ._survival_pred import \
_get_outcome_predictions as _get_outcome_predictions
from ._survival_pred import _get_outcome_predictions as _get_outcome_predictions
from ._survival_pred import _pred_risk as _pred_risk
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pySEQTarget"
version = "0.9.0"
version = "0.9.1"
description = "Sequentially Nested Target Trial Emulation"
readme = "README.md"
license = {text = "MIT"}
Expand Down