Skip to content

Commit

Permalink
fix snps csv source
Browse files Browse the repository at this point in the history
  • Loading branch information
sandra-selfdecode authored Dec 6, 2022
1 parent 76b5ca2 commit 0af6fd4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/snps/io/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,15 +1216,13 @@ def read_snps_csv(self, file, comments, compression):
dict
result of `read_helper`
"""
source = ""
source = "csv"
phased = False
build = 0

comment_lines = comments.split("\n")
for comment1 in comment_lines:
if "Source(s):" in comment1:
source = comment1.split("Source(s):")[1].strip()
elif "Phased:" in comment1:
if "Phased:" in comment1:
if comment1.split("Phased:")[1].strip() == "True":
phased = True
elif "Build:" in comment1:
Expand Down

0 comments on commit 0af6fd4

Please sign in to comment.