UserError("Only one sequence found in %s file" " '%s'.\nCheck your alignment file for errors." "\nIf the file seems correct, use Help->" "Report a Bug menu item to report the problem." %( parserType, filename ) )
UserError("'%s' is not a %s file" %( filename, parserType ) )
IOError, "Syntax error in %s file '%s': %s" %( parserType, filename, val )
UserError( "No such file: %s" % filename )
UserError( "Sequence '%s' differs in length from" " preceding sequences.\nCheck your alignment" " file for errors.\nIf the file seems correct," " use 'Help->Report a Bug' menu item to report" " the problem." % s.name )
|