#NEWLINE# def _graphlet_index( adj_mat , graphlet_array ) : #NEWLINE# #INDENT# 'Return index to increment.' #NEWLINE# for ( i , g ) in enumerate ( g ) : #NEWLINE# #INDENT# if _compare_graphlets ( adj_mat , g ) : #NEWLINE# #INDENT# return i #NEWLINE# #UNINDENT# #UNINDENT# return ( - 1 )