Skip to content

Commit

Permalink
Update __main__.py
Browse files Browse the repository at this point in the history
Fix new line issue.
  • Loading branch information
RobbinBouwmeester authored May 29, 2023
1 parent 34bf725 commit 43bf338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deeplc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ def run(
file_model = fm_dict

with open(file_pred) as f:
first_line_pred = f.readline()
first_line_pred = f.readline().strip()
if file_cal:
with open(file_cal) as f:
first_line_cal = f.readline()
first_line_cal = f.readline().strip()

if "modifications" in first_line_pred.split(",") and "seq" in first_line_pred.split(","):
# Read input files
Expand Down

0 comments on commit 43bf338

Please sign in to comment.