From 824629706b75b3c5b4275c2f6d6ce540bf6dfc73 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Sun, 11 Aug 2024 15:01:58 +0800 Subject: dos2unix --- Code/merge_edges.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Code/merge_edges.py') diff --git a/Code/merge_edges.py b/Code/merge_edges.py index 6bbd2f0..872faa9 100644 --- a/Code/merge_edges.py +++ b/Code/merge_edges.py @@ -23,6 +23,7 @@ import os, operator, sys, math, datetime, glob from log import write_log_file from configure import EDGE_POOL_DIR, MERGED_EDGE_FILE, SQLITE_EDGE_FILE, UPDATE_NETWORK_LOG_FILE +from utils import make_paths import sqlite3 def get_number_of_RNAseq_ids(s): @@ -134,6 +135,9 @@ def make_new_edge(d): ##main + +make_paths(EDGE_POOL_DIR) + write_log_file('[merge_edges.py] Go through all edge files in the edge pool %s.' % (EDGE_POOL_DIR) , UPDATE_NETWORK_LOG_FILE) 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. file_count = 0 -- cgit v1.2.1