[Rivet-svn] r3097 - in trunk: . bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri May 20 15:06:58 BST 2011


Author: buckley
Date: Fri May 20 15:06:57 2011
New Revision: 3097

Log:
Removing import of ipython shell from rivet-rescale, having just seen it throw a multi-coloured warning message on a student's lxplus Rivet session!

Modified:
   trunk/ChangeLog
   trunk/bin/rivet-rescale

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Fri May 20 14:11:24 2011	(r3096)
+++ trunk/ChangeLog	Fri May 20 15:06:57 2011	(r3097)
@@ -1,5 +1,9 @@
 2011-05-20  Andy Buckley  <andy at insectnation.org>
 
+	* Removing import of ipython shell from rivet-rescale, having just
+	seen it throw a multi-coloured warning message on a student's
+	lxplus Rivet session!
+
 	* Adding support for the compare-histos --no-ratio flag when using
 	rivet-mkhtml. Adding --rel-ratio, --linear, etc. is an exercise
 	for the enthusiast ;-)

Modified: trunk/bin/rivet-rescale
==============================================================================
--- trunk/bin/rivet-rescale	Fri May 20 14:11:24 2011	(r3096)
+++ trunk/bin/rivet-rescale	Fri May 20 15:06:57 2011	(r3097)
@@ -53,11 +53,11 @@
 import os, re, logging
 from lighthisto import Histo
 
-try:
-    from IPython.Shell import IPShellEmbed
-    ipshell = IPShellEmbed([])
-except:
-    logging.info("Ipython shell not available.")
+# try:
+#     from IPython.Shell import IPShellEmbed
+#     ipshell = IPShellEmbed([])
+# except:
+#     logging.info("Ipython shell not available.")
 
 
 ## Try to load faster but non-standard cElementTree module


More information about the Rivet-svn mailing list