Skip to content
Snippets Groups Projects
Commit 2bd4c3af authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

Shuffle random negative peptides

parent 804d89b7
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ import weakref
import itertools
import os
import logging
import random
import pickle
import numpy
......@@ -930,6 +931,7 @@ class Class1NeuralNetwork(object):
count,
length=length,
distribution=aa_distribution))
random.shuffle(random_negative_peptides_list)
random_negative_peptides = EncodableSequences.create(
random_negative_peptides_list)
random_negative_peptides_encoding = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment