MCPcopy Create free account
hub / github.com/DropEdge/DropEdge / parse_index_file

Function parse_index_file

src/utils.py:13–18  ·  view source on GitHub ↗

Parse index file.

(filename)

Source from the content-addressed store, hash-verified

11datadir = "data"
12
13def parse_index_file(filename):
14 """Parse index file."""
15 index = []
16 for line in open(filename):
17 index.append(int(line.strip()))
18 return index
19
20def preprocess_citation(adj, features, normalization="FirstOrderGCN"):
21 adj_normalizer = fetch_normalization(normalization)

Callers 1

load_citationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected