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

AlleleData objects now have numpy arrays for all attributes

parent 7d17bedc
No related branches found
No related tags found
No related merge requests found
......@@ -317,9 +317,10 @@ def create_allele_data_from_peptide_to_ic50_dict(
X_binary=X_binary,
Y=Y_kmer,
ic50=ic50_array,
peptides=kmer_peptides,
original_peptides=original_peptides,
original_lengths=[len(peptide) for peptide in original_peptides],
peptides=np.array(kmer_peptides),
original_peptides=np.array(original_peptides),
original_lengths=np.array(
[len(peptide) for peptide in original_peptides]),
substring_counts=counts,
weights=1.0 / counts)
......
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