kfuku52 / csubst

Molecular convergence detection
BSD 3-Clause "New" or "Revised" License
26 stars 1 forks source link

IndexError: list index out of range #33

Closed kfuku52 closed 1 year ago

kfuku52 commented 1 year ago
/Users/kef74yk/opt/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/table.py:72: FutureWarning: In a future version, `df.iloc[:, i] = newvals` will attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use either `df[df.columns[i]] = newvals` or, if columns are non-unique, `df.isetitem(i, newvals)`
  df.loc[:,sc] = df[sc].astype(int)
Traceback (most recent call last):
  File "/Users/kef74yk/opt/miniconda3/envs/pymol/bin/csubst", line 324, in <module>
    args.handler(args)
  File "/Users/kef74yk/opt/miniconda3/envs/pymol/bin/csubst", line 34, in command_site
    main_site(g)
  File "/Users/kef74yk/opt/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/main_site.py", line 677, in main_site
    g = parser_biodb.pdb_sequence_search(g)
  File "/Users/kef74yk/opt/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/parser_biodb.py", line 110, in pdb_sequence_search
    top_hit_id = run_qblast(aa_query, num_display=10, evalue_cutoff=g['database_evalue_cutoff'])
  File "/Users/kef74yk/opt/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/parser_biodb.py", line 38, in run_qblast
    top_hit_id = get_top_hit_id(my_hits)
  File "/Users/kef74yk/opt/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/parser_biodb.py", line 15, in get_top_hit_id
    top_hit_title = my_hits.descriptions[0].title
IndexError: list index out of range