aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-10-27 16:14:43 +0100
committerThomas White <taw@physics.org>2020-10-27 16:14:43 +0100
commitadc3f8da212d6a17bee80bac0d7a304a0787f4dc (patch)
treec0e900736c78fdaca899ced12432235855ca03bd
parent02dd5362fa9f0eb8e2f6df45511347ee3533fdd2 (diff)
cell_explorer: Continue (but complain) if a stream can't be readtom/dtempl
The GUI asks cell_explorer to load all the streams for a processing run, without knowing if the jobs have completed (or even started) yet. Therefore, cell_explorer needs to be a bit more tolerant.
-rw-r--r--src/cell_explorer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index 5fdce793..ba6a1b66 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -1940,9 +1940,9 @@ static int add_stream(CellWindow *w, const char *stream_filename,
st = stream_open_for_read(stream_filename);
if ( st == NULL ) {
- fprintf(stderr, "Failed to open '%s'\n",
+ fprintf(stderr, "Failed to open '%s' (skipping)\n",
stream_filename);
- return 1;
+ return 0;
}
do {