def g_test2(self):
        'mccomponents.sample.kernelxml.renderer'
        from mccomponents.sample.kernelxml import parse_file, render
        scatterer = parse_file( scattererxml )
        
        renderedxml = "%s.rendered" % scattererxml
        print >>open(renderedxml,'w'), '\n'.join(render(scatterer))

        scatterer1 = parse_file( renderedxml )
        return
    def g_test2(self):
        'mccomponents.sample.kernelxml.renderer'
        from mccomponents.sample.kernelxml import parse_file, render
        scatterer = parse_file(scattererxml)

        renderedxml = "%s.rendered" % scattererxml
        print >> open(renderedxml, 'w'), '\n'.join(render(scatterer))

        scatterer1 = parse_file(renderedxml)
        return
    def test2(self):
        'mccomponents.sample.kernelxml.renderer'

        sqehisth5 = 'sqehist.h5'
        outputs = [sqehisth5]
        _remove(outputs)

        from mccomponents.sample.kernelxml import parse_file, render
        scatterer = parse_file(scattererxml)

        renderedxml = "%s.rendered" % scattererxml
        print >> open(renderedxml, 'w'), '\n'.join(render(scatterer))

        scatterer1 = parse_file(renderedxml)
        return
Esempio n. 4
0
    def test2(self):
        "mccomponents.sample.kernelxml.renderer"

        sqehisth5 = "sqehist.h5"
        outputs = [sqehisth5]
        _remove(outputs)

        from mccomponents.sample.kernelxml import parse_file, render

        scatterer = parse_file(scattererxml)

        renderedxml = "%s.rendered" % scattererxml
        print >>open(renderedxml, "w"), "\n".join(render(scatterer))

        scatterer1 = parse_file(renderedxml)
        return