|
[Rivet-svn] r3893 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Aug 9 15:25:18 BST 2012
Author: buckley Date: Thu Aug 9 15:25:18 2012 New Revision: 3893 Log: Tell ROOT not to grab the command line args in aida2root Modified: trunk/bin/aida2root Modified: trunk/bin/aida2root ============================================================================== --- trunk/bin/aida2root Mon Aug 6 15:43:21 2012 (r3892) +++ trunk/bin/aida2root Thu Aug 9 15:25:18 2012 (r3893) @@ -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 |