Skip to content

Commit

Permalink
remove \n from 'sex' variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hopedisastro committed Jun 4, 2024
1 parent 384f3fb commit a46fe79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions str/runners/str_iterative_eh_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def main(
split_line = line.split(',')
cpg_id = split_line[0]
sex = split_line[2]
sex = sex.replace('\n', '')
if cpg_id == 's': # header line
continue
if sex == 'XY':
Expand Down

0 comments on commit a46fe79

Please sign in to comment.