kfuku52 / csubst

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

ValueError: min() arg is an empty sequence #26

Closed kfuku52 closed 1 year ago

kfuku52 commented 1 year ago
Traceback (most recent call last):
  File "/Users/kf/miniconda3/envs/pymol/bin/csubst", line 313, in <module>
    args.handler(args)
  File "/Users/kf/miniconda3/envs/pymol/bin/csubst", line 34, in command_site
    main_site(g)
  File "/Users/kf/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/main_site.py", line 764, in main_site
    parser_pymol.write_pymol_session(df=df, g=g)
  File "/Users/kf/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/parser_pymol.py", line 262, in write_pymol_session
    mask_subunit(g)
  File "/Users/kf/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/parser_pymol.py", line 148, in mask_subunit
    g = calc_aa_identity(g)
  File "/Users/kf/miniconda3/envs/pymol/lib/python3.8/site-packages/csubst/parser_pymol.py", line 136, in calc_aa_identity
    aa_start = min(alphabet_sites)
ValueError: min() arg is an empty sequence