We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 569b0ff + 0a1d245 commit d5357fcCopy full SHA for d5357fc
selene_sdk/predict/model_predict.py
@@ -460,7 +460,7 @@ def get_predictions_for_fasta_file(self,
460
461
batch_ids.append([i, fasta_record.name])
462
sequences[i % self.batch_size, :, :] = cur_sequence_encoding
463
- if (batch_ids and i == 0) or i % self.batch_size != 0):
+ if (batch_ids and i == 0) or i % self.batch_size != 0:
464
sequences = sequences[:i % self.batch_size + 1, :, :]
465
preds = predict(self.model, sequences, use_cuda=self.use_cuda)
466
reporter.handle_batch_predictions(preds, batch_ids)
0 commit comments