Skip to content

Commit 69b3f83

Browse files
committed
minor typos fixes
1 parent bc21415 commit 69b3f83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py_src/ChunkQC.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)