Skip to content

How to fix error "mfe = mfe_results[key][index] KeyError: (53873, 54128)" #22

@zhangxiang36

Description

@zhangxiang36

When I ran ~/anaconda3/envs/crispr_identify_env/bin/python CRISPRidentify.py --file TestInputMultiline/MultilineFasta.fasta, I got this error

                            Executing file 1 out of 2 (gi-56475432-ref-NC_006513-.fa)
  1. Run initial array detection
  2. Refine detected arrays
  3. Evaluate candidates

Traceback (most recent call last):
File "CRISPRidentify.py", line 306, in
main()
File "CRISPRidentify.py", line 290, in main
run_over_folder_of_files(folder_multifasta, folder_result, pickle_folder, json_folder)
File "CRISPRidentify.py", line 251, in run_over_folder_of_files
absolute_directory_path=script_absolute_path)
File "/data/home/zhangxiang/gitFolder/CRISPRidentify/components/pipeline.py", line 32, in init
self._run_evaluation()
File "/data/home/zhangxiang/gitFolder/CRISPRidentify/components/pipeline.py", line 62, in _run_evaluation
flag_dev_mode=self.flag_dev_mode)
File "/data/home/zhangxiang/gitFolder/CRISPRidentify/components/module_evaluation.py", line 27, in init
self._extract_features_and_evaluate()
File "/data/home/zhangxiang/gitFolder/CRISPRidentify/components/module_evaluation.py", line 68, in _extract_features_and_evaluate
mfe = mfe_results[key][index]
KeyError: (53873, 54128)

I have create the conda env with mamba env create -f environment.yml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions