Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 520378b8 authored by AITE Meziane's avatar AITE Meziane
Browse files

remove old rU for reading file

parent de917b79
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ def main():
qualifier = args["--qualifier"]
verbose = args["-v"]
fasta_records = []
with open(gbk_file, "rU") as gbk:
with open(gbk_file, "r") as gbk:
for seq_record in SeqIO.parse(gbk, "genbank"):
seq_feature_cds = (seq_feature for seq_feature in seq_record.features if seq_feature.type == "CDS")
for seq_feature in seq_feature_cds:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment