Skip to content

Commit 118f4d9

Browse files
jonperdomoCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent ac82bf5 commit 118f4d9

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

contextscore/extract_features.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,6 @@ def write_normalized_bed(path, target_has_chr):
450450
logging.warning('Could not remove temporary normalized BED file: %s', normalized_temp_bed)
451451

452452

453-
# Cap hmm log likelihood to avoid extreme values.
454-
df['hmm_llh'] = np.clip(df['hmm_llh'], -1e6, 0)
455-
456-
# Update hmm_llh, set 0 to np.nan
457-
df['hmm_llh'] = df['hmm_llh'].replace(0, np.nan)
458-
459453
def bed_to_annovar_input(bed_file):
460454
"""Convert the BED file to ANNOVAR input format."""
461455
output_file = bed_file.replace('.bed', '.avinput')

0 commit comments

Comments
 (0)