diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-09 15:30:36 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-09 15:30:36 +0800 |
commit | 27a8f0c25c2f2a003dda594227a25f13608212c7 (patch) | |
tree | dc0279f40fcd4c1e9f90593702cd2d33a38da5cc /Code/update_network_by_force.py | |
parent | a91485db0f1462c42a20cb9176867341a9c53f80 (diff) |
update_network_by_force.py: move the position of the 'update done' log.
Diffstat (limited to 'Code/update_network_by_force.py')
-rw-r--r-- | Code/update_network_by_force.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Code/update_network_by_force.py b/Code/update_network_by_force.py index 56f46dc..c47002c 100644 --- a/Code/update_network_by_force.py +++ b/Code/update_network_by_force.py @@ -148,9 +148,6 @@ if os.path.getmtime(MERGED_EDGE_FILE) < os.path.getmtime(EDGE_POOL_DIR): # edge copy_and_backup_file(MERGED_EDGE_FILE, '../Analysis') # the backup file will be used for further analysis -write_log_file('[update_network_by_force.py] Update done at %s.\n\n' % (datetime.now().strftime('%Y-%m-%d %H:%M:%S')), UPDATE_NETWORK_LOG_FILE) - - # Compute overlap f = open('../Data/temp/AtRegNet.20210208.csv') @@ -177,3 +174,6 @@ f.close() overlap = Overlap(BrainEdges_dict, 3, AtRegNet_dict, 0) write_log_file('[update_network_by_force.py] Performance stats - TP:%d, PP:%d, Hit rate: %4.7f while comparing with AtRegNet.20210208.csv.' % (overlap.getTP(), overlap.getNumberOfPositivesInPred(), overlap.getTP()/overlap.getNumberOfPositivesInPred()), UPDATE_NETWORK_LOG_FILE) + +write_log_file('[update_network_by_force.py] Update done at %s.\n\n' % (datetime.now().strftime('%Y-%m-%d %H:%M:%S')), UPDATE_NETWORK_LOG_FILE) + |