Пример #1
0
 def test_returns_correct_xml( self ):
     from bactpipeline.runsample import new_assembly
     # Create new assembly proj
     projdir = new_assembly( )
     xmlfile = join( projdir, 'assembly', '454AssemblyProject.xml' )
     r = self._C( projdir, self.fqs )
     xml = open(xmlfile).read()
     print(xml)
     eq_( 2, xml.count('ReadFiles'), 'Did not insert ReadFiles correctly' )
     self.fqs_in_xml( self.fqs, xml )
Пример #2
0
 def _C( self, *args, **kwargs ):
     from bactpipeline.runsample import new_assembly
     return new_assembly( *args, **kwargs )