def compare_nodes(self):
        ''' This method takes the nodes in the node_list and compares them '''
        # For each node in the list
        for node in self.node_list:
            # If the list has another item after it, compare them
            if self.node_list.index(node) < 1 - len(self.node_list):
                node2 = self.node_list[self.node_list.index(node) + 1]
                print('\nComparing Node ' + str(self.node_list.index(node)) + ' and Node ' + str(self.node_list.index(node) + 1) + ':')
                # Passes the two root directories of the nodes to the recursive _compare_directories.
                self._compare_directories(node.root_path, node2.root_path)
dataset/ETHPy150Open koenbok/Cactus/cactus/utils/sync.py/Dispatch.compare_nodes/swapped operands of `-`