- Changed from testing the ID to testing the sequence size.
This commit is contained in:
Paul Beckingham 2010-02-23 18:07:05 -05:00
parent a5d8ef524e
commit cda959a658

View file

@ -1887,7 +1887,7 @@ int handleAnnotate (std::string &outs)
if (!context.task.has ("description"))
throw std::string ("Cannot apply a blank annotation.");
if (!context.task.has ("id"))
if (context.sequence.size () == 0)
throw std::string ("ID needed to apply an annotation.");
std::stringstream out;