diff --git a/mkdocs.yml b/mkdocs.yml index 35c9bdc..c0d06ee 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -25,9 +25,6 @@ plugins: options: docstring_style: "numpy" members_order: source - setup_commands: - - "import sys, os; root=os.environ.get('GITHUB_WORKSPACE', '.'); sys.path.insert(0, os.path.join(root, 'src'))" - - "import sys, os; root=os.environ.get('GITHUB_WORKSPACE', '.'); sys.path.insert(0, os.path.join(root, '.'))" markdown_extensions: - admonition diff --git a/src/dorito/model_fits.py b/src/dorito/model_fits.py index 9512d8a..64323b3 100644 --- a/src/dorito/model_fits.py +++ b/src/dorito/model_fits.py @@ -90,21 +90,6 @@ class ResolvedFit(_BaseResolvedFit, ModelFit): ``True``. """ - def __init__(self, file, use_cov=True): - """Initialise a resolved-source ModelFit. - - Parameters - ---------- - file : str or path-like - Path to the data file or exposure to be passed to the parent - :class:`amigo.model_fits.ModelFit` initialiser. - use_cov : bool, optional - Whether to use the covariance information from the data, by - default ``True``. - """ - - return super().__init__(file, use_cov=use_cov) - def get_key(self, param): match param: case "log_dist": @@ -162,23 +147,6 @@ def get_key(self, param): return super().get_key(param) - def __init__(self, file, use_cov=True): - """Initialise a dynamic resolved fit. - - This class behaves like :class:`ResolvedFit` but keys distribution - parameters per-exposure. The constructor accepts the same arguments - as :class:`ResolvedFit` and delegates to the parent initialiser. - - Parameters - ---------- - file : str or path-like - Path to the data file or exposure. - use_cov : bool, optional - Whether to use covariance information, by default ``True``. - """ - - return super().__init__(file, use_cov=use_cov) - class TransformedResolvedFit(ResolvedFit): """Resolved-source fit using coefficients describing a transformed basis.