Skip to content

Commit f8819db

Browse files
committed
Specify chain index in gq error
1 parent 47e5810 commit f8819db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmdstanpy/stanfit/gq.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ def _assemble_generated_quantities(self) -> None:
635635
except Exception as exc:
636636
raise ValueError(
637637
f"An error occurred when parsing Stan csv {csv_file}"
638+
f" for chain {chain}"
638639
) from exc
639640
self._draws = gq_sample
640641

0 commit comments

Comments
 (0)