code: def prt_gene_aart_details(self, geneids, prt=sys.stdout):
          
          _go2nt = self.sortobj.grprobj.go2nt
          patgene = self.datobj.kws["fmtgene2"]
          patgo = self.datobj.kws["fmtgo2"]
          itemid2name = self.datobj.kws.get("itemid2name")
          chr2i = self.datobj.get_chr2idx()
          for geneid in geneids:
              gos_gene = self.gene2gos[geneid]
              symbol = "" if itemid2name is None else itemid2name.get(geneid, "")
              prt.write("\n")
              prt.write(patgene.format(AART=self.gene2aart[geneid], ID=geneid, NAME=symbol))
              go2nt = {go:(_go2nt[go], "".join(self.go2chrs[go])) for go in gos_gene}
              for ntgo, abc in sorted(go2nt.values(),
                                      key=lambda t: [chr2i[t[1][:1]], t[0].NS, -1*t[0].dcnt]):
                  prt.write("{ABC} ".format(ABC=abc))
                  prt.write(patgo.format(**ntgo._asdict()))
docs: For each gene, print ASCII art which represents its associated GO IDs.