From adc3f8da212d6a17bee80bac0d7a304a0787f4dc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 27 Oct 2020 16:14:43 +0100 Subject: cell_explorer: Continue (but complain) if a stream can't be read 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. --- src/cell_explorer.c | 4 ++-- 1 file 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 { -- cgit v1.2.3