Index: trunk/ippToPsps/perl/getSmfForThisBatch.pl
===================================================================
--- trunk/ippToPsps/perl/getSmfForThisBatch.pl	(revision 32011)
+++ 	(revision )
@@ -1,69 +1,0 @@
-#!/usr/bin/env perl
-
-use warnings;
-use strict;
-
-use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
-use ippToPsps::Gpc1Db;
-use ippToPsps::IppToPspsDb;
-use ippToPsps::DetectionBatch;
-
-my $camera = undef;
-my $batch = undef;
-my $verbose = undef;
-my $save_temps = undef;
-
-GetOptions(
-        'batch|b=s' => \$batch,
-        'verbose|v' => \$verbose,
-        'save_temps|t' => \$save_temps,
-        'camera|c' => \$camera,
-        );
-
-my $quit = 0;
-print "\n*******************************************************************************\n";
-print "* \n";
-if (@ARGV) {
-    $quit=1;
-    print "* UNKNOWN: option                          @ARGV\n";
-}
-if (!defined $batch) {
-    $quit=1;
-    print "* REQUIRED: need to provide a batch   -b <batch>\n";
-}
-if (!defined $camera) {
-    $camera = "GPC1";
-    print "* OPTIONAL: select a camera                 -c                   (default = $camera)\n";
-}
-if (!defined $verbose) {
-    $verbose = 0;
-    print "* OPTIONAL: run in verbose mode             -v                   (default = $verbose)\n";
-}
-if (!defined $save_temps) {
-    $save_temps = 0;
-    print "* OPTIONAL: keep temp files                 -t                   (default = $save_temps)\n";
-}
-
-print "*\n*******************************************************************************\n";
-
-if ($quit) { exit; }
-
-my $gpc1Db = new ippToPsps::Gpc1Db("gpc1", "ippdb01", "ippuser", "ippuser", $verbose, $save_temps);
-my $ippToPspsDb = new ippToPsps::IppToPspsDb("ippToPsps", "ippdb01", "ipp", "ipp", $verbose, $save_temps);
-
-my $detectionBatch = ippToPsps::DetectionBatch->existing(
-        $camera,
-        $gpc1Db,
-        $batch, 
-        $ippToPspsDb, 
-        "./",
-        $verbose, 
-        $save_temps);
-
-my $smf = $detectionBatch->getSmfFile();
-if (defined $smf) {
-    print "$smf\n";
-}
-else {
-    print "* Could not find an smf file for batch $batch\n";
-}
