def get_base_outnames(self, inname):
    plainname = os.path.basename(inname)
    basename = os.path.splitext(plainname)[0]
    bases = [x.replace('@BASENAME@', basename).replace('@PLAINNAME@', plainname) for x in self.outputs]
    return bases
def get_base_outnames(self, inname):
    plainname = os.path.basename(inname)
    basename = os.path.splitext(plainname)[0]
    bases = [x.replace('@BASENAME@', basename).replace('@PLAINNAME@', plainname) for x in self.outputs]
    return bases