Commit dba99a1b authored by Leigh Stoller's avatar Leigh Stoller

Add method to get the dbrow from an experiment object.

parent 315a8e6d
......@@ -264,6 +264,7 @@ sub Lookup($$;$)
sub field($$) { return ((! ref($_[0])) ? -1 : $_[0]->{'EXPT'}->{$_[1]}); }
sub stats($$) { return ((! ref($_[0])) ? -1 : $_[0]->{'STATS'}->{$_[1]});}
sub resources($$) { return ((! ref($_[0])) ? -1 : $_[0]->{'RSRC'}->{$_[1]}); }
sub dbrow($$) { return $_[0]->{'EXPT'}; }
sub pid($) { return field($_[0], 'pid'); }
sub gid($) { return field($_[0], 'gid'); }
......
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