From 52160385a6c554bb995e3b72c7be3eb978286015 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Wed, 5 Nov 2014 22:05:37 +0000 Subject: [PATCH] alternative expression to parse script filename (scriptID excluding file extension). --- processing/pre/seeds_fromDistribution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/pre/seeds_fromDistribution.py b/processing/pre/seeds_fromDistribution.py index 93dcb4509..97ee5b914 100755 --- a/processing/pre/seeds_fromDistribution.py +++ b/processing/pre/seeds_fromDistribution.py @@ -9,7 +9,7 @@ from cStringIO import StringIO import damask scriptID = string.replace('$Id$','\n','\\n') -scriptName = scriptID.split()[1][:-3] +scriptName = os.path.splitext(scriptID.split()[1])[0] mismatch = None currentSeedsName = None