def get_goids(self, go_args, fin_goids, prt):
        """Return source GO IDs ."""
        goids = set()
        if fin_goids is not None:
            goids.update(self.rdtxt_gos(fin_goids, prt))
        if go_args:
            goids.update(self.get_goargs(go_args, prt))
        return goids
def get_goids ( self , go_args , fin_goids , prt ) : goids = set ( ) if fin_goids is not None : goids . update ( self . rdtxt_gos ( fin_goids , prt ) ) if go_args : goids . update ( self . get_goargs ( go_args , prt ) ) return goids
Return source GO IDs .