You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run ANARCI on large number of sequences and I am getting the following error.
I cannot narrow it down to which sequence is causing the error.
File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-298aff8b-ef33-42af-99ab-0bfccbc42e7c/lib/python3.9/site-packages/anarci/anarci.py", line 941, in run_anarci
csv_output(sequences, numbered, alignment_details, outfile)
File "/local_disk0/.ephemeral_nfs/envs/pythonEnv-298aff8b-ef33-42af-99ab-0bfccbc42e7c/lib/python3.9/site-packages/anarci/anarci.py", line 287, in csv_output
details[i][j].get('germlines',{}).get( 'j_gene',[['',''],0] )[0][1],
TypeError: 'NoneType' object is not subscriptable
It seems a None snuck into the j_gene value. The csv_output function can't handle a None.
The text was updated successfully, but these errors were encountered:
I am trying to run ANARCI on large number of sequences and I am getting the following error.
I cannot narrow it down to which sequence is causing the error.
It seems a
None
snuck into thej_gene
value. Thecsv_output
function can't handle aNone
.The text was updated successfully, but these errors were encountered: