Skip to content

Commit 0a85005

Browse files
committed
DOC: stop offering CSV and JSON results as something to resume from
The note under import_outputs said any previously saved file could be used to continue a simulation, which is what led a .csv into output_file in the first place. Say which format that holds for. Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com>
1 parent f173714 commit 0a85005

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎rocketpy/simulation/monte_carlo.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,9 @@ def import_outputs(self, filename=None):
12651265
-----
12661266
Notice that you can import the outputs, inputs, and errors from a
12671267
file without the need to run simulations. You can use previously saved
1268-
files to process analyze the results or to continue a simulation.
1268+
files to process and analyze the results, and a ``.txt`` one to continue
1269+
a simulation. A ``.csv`` or ``.json`` is read-only here: ``simulate``
1270+
writes JSONL and refuses to run over a file it could not read back.
12691271
"""
12701272
filepath = filename if filename else self.filename.with_suffix(".outputs.txt")
12711273

0 commit comments

Comments
 (0)