Skip to content

Commit

Permalink
Skip dataset if no performance can be computed
Browse files Browse the repository at this point in the history
e.g., as all variants define substitutions at gap positions
  • Loading branch information
niklases committed Jul 1, 2024
1 parent a3fbe01 commit aacafbb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def plot_performance(mut_data, plot_name, mut_sep=':'):
f'amino acid substitutions at gap positions (these variants will be predicted/labeled with a fitness of 0.0).')
if ratio_input_vars_at_gaps >= 1.0:
print('100% substitutions at gap sites, skipping dataset...')
continue
#variants, sequences, fitnesses = remove_gap_pos(gaps, variants, sequences, fitnesses)
x_dca = gremlin_new.collect_encoded_sequences(sequences)
x_wt = gremlin_new.x_wt
Expand Down

0 comments on commit aacafbb

Please sign in to comment.