Unverified Commit 4234e7cb authored by Jesse Mapel's avatar Jesse Mapel Committed by GitHub
Browse files

Added ignore check to network apply (#420)

parent cc64a7fa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1406,6 +1406,8 @@ class NetworkCandidateGraph(CandidateGraph):
            raise TypeError('Function argument must be a string or bytes object.')

        for job_counter, elem in enumerate(onobj.data('data')):
            if getattr(elem[-1], 'ignore', False):
                continue
            # Determine if we are working with an edge or a node
            if len(elem) > 2:
                id = (elem[2].source['node_id'],