marcottelab / super.complex

Super.Complex is a supervised machine learning algorithm for community detection in networks. It learns information from known communities and uses this information to find new communities on the network.
https://sites.google.com/view/supercomplex/super-complex-v3-0
MIT License
3 stars 3 forks source link

Unable to locate files #1

Open ghost opened 2 years ago

ghost commented 2 years ago

Upon executing the provided bash script, getting the below errors. Kindly help

artitioning graph nodes across compute nodes... Growing communities... Traceback (most recent call last): File "main4_sample.py", line 148, in <module> main() File "main4_sample.py", line 121, in main with open(seed_nodes_F, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'yeast/all_nodes_known_comp_n_pts_1/res_seed_nodes0' Merging very similar communities... Traceback (most recent call last): File "main5_postprocess.py", line 187, in <module> main() File "main5_postprocess.py", line 157, in main with open(out_comp_nm_sample + "_pred_comp_list" + str(i), 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'yeast/results_conn_tapcliques/res_pred_comp_list0' Comparing predicted and known communities... Traceback (most recent call last): File "main6_eval.py", line 307, in <module> main() File "main6_eval.py", line 145, in main with open(inputs['dir_nm'] + inputs["out_comp_nm"] + '_pred.out', "r") as fn: FileNotFoundError: [Errno 2] No such file or directory: 'yeast/results_conn_tapcliques/res_pred.out'

meghanapalukuri commented 2 years ago

The missing file res_seed_nodes0 should be constructed by the previous step in the example bash script provided in the README:

echo Partitioning graph nodes across compute nodes... python3 main3_partition_search_seeds.py --input_file_name $input_file_name --out_dir_name $out_dir_name_meth --search_method $meth

Please check and debug accordingly.

On Sat, Apr 16, 2022, 8:20 AM kalyan-iiitbh @.***> wrote:

Upon executing the provided bash script, getting the below errors. Kindly help

artitioning graph nodes across compute nodes... Growing communities... Traceback (most recent call last): File "main4_sample.py", line 148, in

main() File "main4_sample.py", line 121, in main with open(seed_nodes_F, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'yeast/all_nodes_known_comp_n_pts_1/res_seed_nodes0' Merging very similar communities... Traceback (most recent call last): File "main5_postprocess.py", line 187, in main() File "main5_postprocess.py", line 157, in main with open(out_comp_nm_sample + "_pred_comp_list" + str(i), 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'yeast/results_conn_tapcliques/res_pred_comp_list0' Comparing predicted and known communities... Traceback (most recent call last): File "main6_eval.py", line 307, in main() File "main6_eval.py", line 145, in main with open(inputs['dir_nm'] + inputs["out_comp_nm"] + '_pred.out', "r") as fn: FileNotFoundError: [Errno 2] No such file or directory: 'yeast/results_conn_tapcliques/res_pred.out' — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>