From bf69b5fa211b2e024a29b9746c01f404848eb470 Mon Sep 17 00:00:00 2001 From: kshakir Date: Thu, 16 Sep 2010 19:15:37 +0000 Subject: [PATCH] "!=" != "==" git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4297 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/queue/function/CommandLineFunction.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scala/src/org/broadinstitute/sting/queue/function/CommandLineFunction.scala b/scala/src/org/broadinstitute/sting/queue/function/CommandLineFunction.scala index 6d0fd27ec..e2baeb7f6 100644 --- a/scala/src/org/broadinstitute/sting/queue/function/CommandLineFunction.scala +++ b/scala/src/org/broadinstitute/sting/queue/function/CommandLineFunction.scala @@ -170,7 +170,7 @@ trait CommandLineFunction extends QFunction with Logging { newFileExtension } case file: File => { - if (file.getClass == classOf[File]) + if (file.getClass != classOf[File]) throw new QException("Extensions of file must also extend with FileExtension so that the path can be modified."); val newFile = IOUtils.resetParent(tempDir, file) setFieldValue(field, newFile)