def print_report(report, fetch=False): for eid, r in report.items(): out = ('**************** Report for {} ****************' '\n\tNRID: {NRID}\n\tURID: {URID} {UDEP}\n\tMATCH: {MATCH}\n') #if not r['MATCH']: print(out.format(eid, **r)) if fetch: scigPrint.pprint_node(sgg.getNode('NIFGA:' + eid)) if r['NRID']: scigPrint.pprint_node(sgg.getNode(r['NRID'])) if r['URID']: scigPrint.pprint_node(sgg.getNode(r['URID']))
def review_norep(list_): print('List of norep (aka already deprecated) to review') for curie in list_: n = sgg.getNode(curie) scigPrint.pprint_node(n)