def _init_kws(self):
        """Fill default values for keyword args, if necessary."""
        # Return user-specified GO formatting, if specfied:
        if 'fmtgo' not in self.kws:
            self.kws['fmtgo'] = self.grprdflt.gosubdag.prt_attr['fmt'] + "\n"
        if 'fmtgo2' not in self.kws:
            self.kws['fmtgo2'] = self.grprdflt.gosubdag.prt_attr['fmt'] + "\n"
        if 'fmtgene' not in self.kws:
            if 'itemid2name' not in self.kws:
                self.kws['fmtgene'] = "{AART} {ID}\n"
            else:
                self.kws['fmtgene'] = "{AART} {ID} {NAME}\n"
        if 'fmtgene2' not in self.kws:
            self.kws['fmtgene2'] = self.kws['fmtgene']
def _init_kws ( self ) : if 'fmtgo' not in self . kws : self . kws [ 'fmtgo' ] = self . grprdflt . gosubdag . prt_attr [ 'fmt' ] + "\n" if 'fmtgo2' not in self . kws : self . kws [ 'fmtgo2' ] = self . grprdflt . gosubdag . prt_attr [ 'fmt' ] + "\n" if 'fmtgene' not in self . kws : if 'itemid2name' not in self . kws : self . kws [ 'fmtgene' ] = "{AART} {ID}\n" else : self . kws [ 'fmtgene' ] = "{AART} {ID} {NAME}\n" if 'fmtgene2' not in self . kws : self . kws [ 'fmtgene2' ] = self . kws [ 'fmtgene' ]
Fill default values for keyword args, if necessary.