diff --git a/src/snps/io/reader.py b/src/snps/io/reader.py index a8037dc..bcb44f6 100644 --- a/src/snps/io/reader.py +++ b/src/snps/io/reader.py @@ -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: