Revision 197b09d2793b2784d9e6f367be8167ea42e103d8 authored by Thomas B. Mooney on 22 December 2021, 20:42:16 UTC, committed by GitHub on 22 December 2021, 20:42:16 UTC
Add config for specifying the queue for interactive jobs.
2 parent s 6544230 + 9e96fb4
Raw File
filter_bqm_for_errors
#!/usr/bin/env genome-perl

use strict;
use warnings;

my $found_error = 0;
my @stdin;
while (my $stdin = <>) {
    push @stdin, $stdin;
    $found_error = 1 if ($stdin =~ /ERROR:/);
}
$found_error = 1 if ($stdin[-1] !~ /^COMMITTED$/) and ($stdin[-2] !~ /^No queued models found to start\.$/);

if ($found_error) {
    print @stdin;
}
back to top