diff --git a/scripts/simba_export b/scripts/simba_export index 3b854cc..88a33c5 100644 --- a/scripts/simba_export +++ b/scripts/simba_export @@ -15,7 +15,8 @@ my $dbh = $ca->{dbh}; my $sessions = $dbh->selectcol_arrayref("select id from sessions order by id"); for my $session_id (@$sessions) { - next if (-f "$basedir/$session_id.tsv"); + next if (-f "$basedir/$session_id.tsv" + || -f "$basedir/$session_id.tsv.gz"); $ca->log(3, "exporting session $session_id"); my $sth = $dbh->prepare(