Skip to content

Commit 2b9ba91

Browse files
committed
fix lint
1 parent 83d7aac commit 2b9ba91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

genmod/commands/annotate_models.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def models(
181181
head.parse_header_line(line)
182182
else:
183183
break
184-
184+
185185
# Check before adding models info to header
186186
if "GeneticModels" in head.info_dict:
187187
logger.warning("Genetic models are already annotated according to vcf header.")
@@ -233,13 +233,13 @@ def models(
233233
)
234234
logger.debug("Compounds added")
235235

236-
#Add the first variant to the iterator
237-
if not line.startswith('#'):
236+
# Add the first variant to the iterator
237+
if not line.startswith("#"):
238238
variant_file = itertools.chain([line], variant_file)
239239
else:
240240
print_headers(head=head, outfile=outfile, silent=silent)
241241
sys.exit(0)
242-
242+
243243
if vep:
244244
if "CSQ" not in head.info_dict:
245245
logger.warning("vep flag is used but there is no CSQ field specified in header")

0 commit comments

Comments
 (0)