Skip to content

Commit 99fb9ab

Browse files
committed
Added endpoint reinstall note
1 parent b9e1d04 commit 99fb9ab

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/source/modules/custom_estimators.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ The code for the :code:`EmpiricalMeanEstimator` is shown below.
4646
ci_high=bootstraps.confidence_interval.high,
4747
)
4848
49-
Once you have implemented your estimator, you will need to register it as an extra entry point in your :code:`pyproject.toml` file so that the Causal Testing Framework can find it.
49+
Once you have implemented your estimator, you will need to register it as an extra entry point in your project's :code:`pyproject.toml` file so that the Causal Testing Framework can find it.
5050
For example, if you had defined your :code:`EmpiricalMeanEstimator` class in a module called :code:`empirical_mean_estimator` in a folder called :code:`custom_estimators`, you would register it as follows.
51+
You will also need to reinstall your project, e.g. with :code:`pip install -e .` each time you add a new estimator to your :code:`pyproject.toml`.
52+
You do not need to reinstall each time you edit your project for source code edits.
53+
5154

5255
.. code-block:: ini
5356

0 commit comments

Comments
 (0)