Skip to content

Commit

Permalink
work on suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderFengler committed May 8, 2024
1 parent 3391ae4 commit 6134905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: install pymc and poetry
run: |
mamba info
mamba install -c conda-forge pymc=5.14 poetry
mamba install -c conda-forge pymc poetry
- name: install hssm
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/hssm/hssm.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def sample(
# in the GLM as far as bambi is concerned)
if self._inference_obj is not None:
if self._parent not in self._inference_obj.posterior.data_vars.keys():
self.sample_posterior_predictive(self._inference_obj, kind="mean")
self.model.predict(self._inference_obj, kind="mean", inplace=True)
# rename 'rt,response_mean' to 'v' so in the traces everything
# looks the way it should
self._inference_obj.rename_vars(
Expand Down

0 comments on commit 6134905

Please sign in to comment.