original_docstring: 
          Make a list with all the edge from type "labels_edges", i.e. edges between a movie and its class.
          :return: list with labels_edges
          
docstring: Make a list with all the edge from type "labels_edges", i.e. edges between a movie and its class.
docstring_tokens: Make a list with all the edge from type " labels_edges " i . e . edges between a movie and its class .
code: def make_label_edges(self):
          """
          Make a list with all the edge from type "labels_edges", i.e. edges between a movie and its class.
          :return: list with labels_edges
          """
          data_path = self.args.data_name + '_true_edges.pickle'
          if os.path.exists(os.path.join(self.args.data_name, data_path)):
              with open(os.path.join(self.args.data_name, data_path), 'rb') as handle:
                  label_edges = pickle.load(handle)
          else:
              nodes = list(self.graph.nodes)
              label_edges = []
              for node in nodes:
                  info = self.graph._adj[node]
                  neighs = list(info.keys())
                  for neigh in neighs:
                      if info[neigh][0]['key'] == 'labels_edges':
                          label_edges.append([node, neigh])
              try:
                  with open(os.path.join(self.args.data_name, data_path), 'wb') as handle:
                      pickle.dump(label_edges, handle, protocol=3)
              except:
                  pass
          return label_edges
code_tokens: def make_label_edges ( self ) : data_path = self . args . data_name + '_true_edges.pickle' if os . path . exists ( os . path . join ( self . args . data_name , data_path ) ) : with open ( os . path . join ( self . args . data_name , data_path ) , 'rb' ) as handle : label_edges = pickle . load ( handle ) else : nodes = list ( self . graph . nodes ) label_edges = [ ] for node in nodes : info = self . graph . _adj [ node ] neighs = list ( info . keys ( ) ) for neigh in neighs : if info [ neigh ] [ 0 ] [ 'key' ] == 'labels_edges' : label_edges . append ( [ node , neigh ] ) try : with open ( os . path . join ( self . args . data_name , data_path ) , 'wb' ) as handle : pickle . dump ( label_edges , handle , protocol = 3 ) except : pass return label_edges
short_docstring: Make a list with all the edge from type "labels_edges", i.e.
short_docstring_tokens: Make a list with all the edge from type " labels_edges " i . e .
comment: """
          Make a list with all the edge from type "labels_edges", i.e. edges between a movie and its class.
          :return: list with labels_edges
          """