Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ahartikainen authored May 14, 2021
1 parent 478dacd commit a4b2544
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arviz/tests/external_tests/test_data_cmdstanpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def get_inference_data2(self, data, eight_schools_params):

def get_inference_data3(self, data, eight_schools_params):
"""multiple vars as lists."""
print(type(data.model))
print(data.model_code())
return from_cmdstanpy(
posterior=data.obj,
posterior_predictive=["y_hat", "log_lik"],
Expand Down Expand Up @@ -394,6 +396,7 @@ def test_inference_data(self, data, eight_schools_params):
}
fails = check_multiple_attrs(test_dict, inference_data3)
assert not fails
print(inference_data3.posterior)
assert inference_data3.posterior.eta.dtype.kind == "i" # pylint: disable=no-member
assert inference_data3.posterior.theta.dtype.kind == "i" # pylint: disable=no-member

Expand Down

0 comments on commit a4b2544

Please sign in to comment.