File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,15 +165,15 @@ def process_chunk(self) -> dict[int: str]:
165165 empty_cdr3_rows = self .chunk_df [self .chunk_df .T .apply (lambda x : pd .isnull (x ["cdr3.alpha" ])
166166 and pd .isnull (x ["cdr3.beta" ]))]
167167 for empty_row_ind in empty_cdr3_rows .index :
168- chunk_error_messages [tuple ( empty_row_ind ) ].append ('no.cdr3' )
168+ chunk_error_messages [empty_row_ind ].append ('no.cdr3' )
169169
170170 empty_epitope_rows = self .chunk_df [self .chunk_df ["antigen.epitope" ].apply (pd .isnull )]
171171 for empty_row_ind in empty_epitope_rows .index :
172- chunk_error_messages [tuple ( empty_row_ind ) ].append ('no.antigen.seq' )
172+ chunk_error_messages [empty_row_ind ].append ('no.antigen.seq' )
173173
174174 empty_mhc_rows = self .chunk_df [self .chunk_df .T .apply (lambda x : pd .isnull (x ["mhc.a" ]) or pd .isnull (x ["mhc.b" ]))]
175175 for empty_row_index in empty_mhc_rows .index :
176- chunk_error_messages [tuple ( empty_row_index ) ].append ('no.mhc' )
176+ chunk_error_messages [empty_row_index ].append ('no.mhc' )
177177
178178 return chunk_error_messages
179179
You can’t perform that action at this time.
0 commit comments