[LON-CAPA-cvs] cvs: modules /droeschl/Metadata harvestrun.pl
droeschl
droeschl@source.lon-capa.org
Fri, 10 Jun 2011 17:28:25 -0000
droeschl Fri Jun 10 17:28:25 2011 EDT
Modified files:
/modules/droeschl/Metadata harvestrun.pl
Log:
Changed configuration parameters.
Index: modules/droeschl/Metadata/harvestrun.pl
diff -u modules/droeschl/Metadata/harvestrun.pl:1.1 modules/droeschl/Metadata/harvestrun.pl:1.2
--- modules/droeschl/Metadata/harvestrun.pl:1.1 Mon Aug 16 20:54:26 2010
+++ modules/droeschl/Metadata/harvestrun.pl Fri Jun 10 17:28:25 2011
@@ -2,18 +2,16 @@
use strict;
use warnings;
use lib 'lib/';
-#use Metadata::Harvest;
+use Metadata::Harvest;
use Metadata::Clean;
use Metadata::Load;
my $file;
-my $dir = '/Users/stefan/tests/';
+my $dir = '/tmp/'; # OUTPUT DIRECTORY
-#disabled locally
-#my $h = Metadata::Harvest->new();
-#print "Harvesting...\n";
-#$file = $h->harvest();
-$file = "/Users/stefan/tests/merge.dat";
+my $h = Metadata::Harvest->new(debug=>1);
+print "Harvesting...\n";
+$file = $h->harvest();
my $c = Metadata::Clean->new(file =>$file,
out =>$dir,
debug =>10,