Commit 8991d0b2 authored by Marc Duez's avatar Marc Duez retro-compatibilité avec les premiers fichiers contenant seg_stat

parent a051ebbf
......@@ -432,7 +432,11 @@ class ListWindows:
if "window" in obj_dict:
obj = Window(1)
for key in obj_dict :
#hack for data file with seg_stat (first version)
if key == "seg_stat" and isinstance(obj_dict[key], dict) :
else :
return obj
if not "window" in obj_dict and not "reads_segmented" in obj_dict:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment