def postprocess(self):
        """Submit a postprocessing script after collation"""
        assert self.postscript
        envmod.setup()
        envmod.module('load', 'pbs')

        cmd = 'qsub {script}'.format(script=self.postscript)

        cmd = shlex.split(cmd)
        rc = sp.call(cmd)
        assert rc == 0, 'Postprocessing script submission failed.'
def postprocess ( self ) : assert self . postscript envmod . setup ( ) envmod . module ( 'load' , 'pbs' ) cmd = 'qsub {script}' . format ( script = self . postscript ) cmd = shlex . split ( cmd ) rc = sp . call ( cmd ) assert rc == 0 , 'Postprocessing script submission failed.'
Submit a postprocessing script after collation