diff --git a/minos/scripts/parse_repeats.py b/minos/scripts/parse_repeats.py index 1b624e9..421af96 100644 --- a/minos/scripts/parse_repeats.py +++ b/minos/scripts/parse_repeats.py @@ -22,14 +22,9 @@ def parse_repeats(_in, _out, runid): attrib = dict( item.split("=") for item in row[8].strip(" ;").split(";") ) - if any( - map( - lambda x: x is None, - (attrib.get("ID"), attrib.get("Parent"),), - ) - ): + if any(map(lambda x: x is None, (attrib.get("Parent"),))): raise ValueError( - "Error: Cannot parse all variables (ID, Parent). Please check entry:\n{}\n".format( + "Error: Cannot parse all variables (Parent). Please check entry:\n{}\n".format( "\t".join(row) ) )