Skip to content

'list index out of range' Error in Data Analysis Module. #4

@smyconan

Description

@smyconan

I've done the process of model space generation & model selection. But errors appear in data analysis which are as the following:

Traceback (most recent call last):
  File "run_AutoCD.py", line 82, in <module>
    main()
  File "run_AutoCD.py", line 78, in main
    run_data_analysis.main(data_analysis_config)
  File "/home/AutoCD/data_analysis/run_data_analysis.py", line 35, in main
    model_space_report_df = ABC_DA.write_combined_model_space_report(finished_exp_final_population_dirs, combined_analysis_output_dir) 
  File "/home/AutoCD/data_analysis/data_analysis_ABCSMC.py", line 855, in write_combined_model_space_report
    model_space_report_df = merge_model_space_report_df_list(model_space_report_list)
  File "/home/AutoCD/data_analysis/data_analysis_ABCSMC.py", line 46, in merge_model_space_report_df_list
    model_space_report_df = df_list[0]
IndexError: list index out of range

I think that it's because the df_list is empty, but why it happens when I've already done the model space generation & model selection? By the way, I'm just following your example bash script at the bottom of your README.

I'm not familiar with the microbial community design, so maybe the problem is minor for yours. But I'm still looking forward to your reply, thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions