Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PengNi committed Sep 15, 2022
1 parent 77489a2 commit a056d23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deepsignal_plant/call_modifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,9 @@ def _read_features_from_fast5s(fast5s, motif_seqs, chrom2len, positions, regioni
base_signal_lens.append(signal_lens)
k_signals.append(kmer_base_signals)
labels.append(f_methy_label)
features_batches.append((sampleinfo, kmers, base_means, base_stds,
base_signal_lens, k_signals, labels))
if len(sampleinfo) > 0:
features_batches.append((sampleinfo, kmers, base_means, base_stds,
base_signal_lens, k_signals, labels))
return features_batches, error


Expand Down

0 comments on commit a056d23

Please sign in to comment.