Skip to content

Commit 3d397e7

Browse files
committed
Remove id in output filenames if single chain
1 parent ef7ca63 commit 3d397e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmdstanpy/stanfit/runset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(
5858
self._csv_files, self._diagnostic_files = [], []
5959

6060
# per-process output files
61-
if one_process_per_chain:
61+
if one_process_per_chain and chains > 1:
6262
self._stdout_files = [
6363
self.gen_file_name(".txt", extra="stdout", id=id)
6464
for id in self._chain_ids

0 commit comments

Comments
 (0)