Example #1
0
def write_citations():
    # tell the user which programs were used...
    logger.info("XIA2 used... %s" % ", ".join(Citations.get_programs()))
    logger.info("Here are the appropriate citations (BIBTeX in xia2-citations.bib.)")

    for citation in Citations.get_citations_acta():
        logger.info(citation)

    # and write the bibtex versions
    out = open("xia2-citations.bib", "w")

    for citation in Citations.get_citations():
        out.write("%s\n" % citation)

    out.close()
Example #2
0
def write_citations():
    # tell the user which programs were used...
    Chatter.write('XIA2 used... %s' % \
        ', '.join(Citations.get_programs()))
    Chatter.write(
        'Here are the appropriate citations (BIBTeX in xia2-citations.bib.)')

    for citation in Citations.get_citations_acta():
        Chatter.write(citation)

    # and write the bibtex versions
    out = open('xia2-citations.bib', 'w')

    for citation in Citations.get_citations():
        out.write('%s\n' % citation)

    out.close()