|
[Rivet] rivet and GENSEREike von Seggern jan.eike.von.seggern at physik.hu-berlin.deThu Feb 11 15:24:28 GMT 2010
On Thu, Feb 11, 2010 at 15:58 +0100, Anton Karneyeu wrote: > * second problem related with old version of python 2.3/2.4 on > slc4/slc5, which does not allow to direct use of several rivet python > scripts (make-plots, aida2root, aida2flat) due to use of module > xml.etree.ElementTree (which is available starting from python 2.5 only). > For this problem I see two solutions: > - to patch scripts to use xml.dom module. > - to install each time ElementTree module to some local directory > (small patching of scripts will be necessary in this case too). Is cElementTree available? In this case one could use something like: try: import xml.etree.cElementTree as ET except ImportError: try: import cElementTree as ET except ImportError: import xml.etree.ElementTree as ET Cheers eike
More information about the Rivet mailing list |