Commit f7fd9cb1 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fix to allow for nsfiles that are orphaned in the nsfiles table.

parent f2888e91
......@@ -25,7 +25,8 @@ my $query_result =
while (my ($pid, $eid, $exptidx, $nsfile) = $query_result->fetchrow_array()) {
my $experiment = Experiment->Lookup($exptidx);
if (!defined($experiment)) {
die("Could not lookup experiment object for $exptidx\n");
print "Could not lookup experiment object for $exptidx\n";
open(NSFILE, ">$tmpfile")
or die("Could not open $tmpfile for writing!\n");
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