|
[Rivet-svn] r3894 - branches/2012-06-aidarivet/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Aug 9 15:25:25 BST 2012
Author: buckley Date: Thu Aug 9 15:25:25 2012 New Revision: 3894 Log: Tell ROOT not to grab the command line args in aida2root Modified: branches/2012-06-aidarivet/bin/aida2root Modified: branches/2012-06-aidarivet/bin/aida2root ============================================================================== --- branches/2012-06-aidarivet/bin/aida2root Thu Aug 9 15:25:18 2012 (r3893) +++ branches/2012-06-aidarivet/bin/aida2root Thu Aug 9 15:25:25 2012 (r3894) @@ -1,7 +1,7 @@ #! /usr/bin/env python """\ -%prog aidafile [aidafile2 ...]" +%prog aidafile [aidafile2 ...] Verify in the ROOT user manual what needs to be setup for use of ROOT with python @@ -12,6 +12,9 @@ setenv PYTHONPATH $ROOTSYS/lib:$PYTHONDIR/lib/python2.6 """ +import ROOT +ROOT.PyConfig.IgnoreCommandLineOptions = True + import sys if sys.version_info[:3] < (2,4,0): print "rivet scripts require Python version >= 2.4.0... exiting"
More information about the Rivet-svn mailing list |