Commit 910476f6 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Allow vis of swapped experiments, since they will have .top file in

the exp/tbdata directory too.
parent ac377606
......@@ -112,9 +112,9 @@ my %row = $query_result->fetchhash();
my $estate = $row{'state'};
my $expt_path = $row{'path'};
if ($estate ne EXPTSTATE_ACTIVE) {
if ($estate ne EXPTSTATE_ACTIVE && $estate ne EXPTSTATE_SWAPPED) {
die("*** $0:\n".
" Experiment $pid/$eid is not active!\n");
" Experiment $pid/$eid is not active or swapped!\n");
}
if (! chdir("$expt_path/$tbdata")) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment