Skip to content

Commit d5357fc

Browse files
authored
Merge pull request #101 from kathyxchen/master
syntax error in if-statement
2 parents 569b0ff + 0a1d245 commit d5357fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selene_sdk/predict/model_predict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def get_predictions_for_fasta_file(self,
460460

461461
batch_ids.append([i, fasta_record.name])
462462
sequences[i % self.batch_size, :, :] = cur_sequence_encoding
463-
if (batch_ids and i == 0) or i % self.batch_size != 0):
463+
if (batch_ids and i == 0) or i % self.batch_size != 0:
464464
sequences = sequences[:i % self.batch_size + 1, :, :]
465465
preds = predict(self.model, sequences, use_cuda=self.use_cuda)
466466
reporter.handle_batch_predictions(preds, batch_ids)

0 commit comments

Comments
 (0)