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

Used improved Lookup routine (this was the first script template

written) and never got changed.
parent 1d2fe9a2
......@@ -50,7 +50,8 @@ function CheckArguments($guid, $version) {
# Check to make sure this is a valid template.
if (($template = new Template($guid, $version)) == NULL) {
$template = Template::Lookup($guid, $version);
if (!$template) {
USERERROR("The experiment template $guid/$version is not a ".
"valid experiment template!", 1);
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