summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2020-02-11 18:11:01 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2020-02-11 18:11:01 +0800
commitad16f1857775886a7b9ea338c62580302ff45015 (patch)
tree62ed6f470d8ead07d2d8cf432829a9e2c1607a11
parentcc6858ae8e1a3eb24f68047ec4009b0bb9ab10ad (diff)
merge_edges.py: what is the purpose of variable d.
-rw-r--r--Code/merge_edges.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Code/merge_edges.py b/Code/merge_edges.py
index 62a958a..b8ac1a4 100644
--- a/Code/merge_edges.py
+++ b/Code/merge_edges.py
@@ -140,7 +140,7 @@ def make_new_edge(lst_tuple):
##main
-d = {}
+d = {} # d will contain all edges computed so far, where the key is TargetGeneID_TFGeneID, and the value is a list of tuples. Each tuple is a historical edge.
for fname in sorted(glob.glob(os.path.join(EDGE_POOL_DIR, 'edges*.*'))):
print('[merge_edges.py]: including %s.' % (fname))
f = open(fname)