Created
December 30, 2016 17:01
-
-
Save ironhouzi/effdb7c7e608d1bc8517d153e891e8f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def occurrance(graph_links): | |
normalized_graph_links = [] | |
# validate_proc_defs() is a generator | |
for l in validate_proc_defs(proc_defs, graph_links, is_input=True): | |
normalized_graph_links.extend(l) | |
for l in validate_proc_defs(proc_defs, graph_links, is_input=False): | |
normalized_graph_links.extend(l) | |
return normalized_graph_links |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment