Bug Fix - #382
- Changed from testing the ID to testing the sequence size.
This commit is contained in:
@@ -1887,7 +1887,7 @@ int handleAnnotate (std::string &outs)
|
|||||||
if (!context.task.has ("description"))
|
if (!context.task.has ("description"))
|
||||||
throw std::string ("Cannot apply a blank annotation.");
|
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.");
|
throw std::string ("ID needed to apply an annotation.");
|
||||||
|
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
|
|||||||
Reference in New Issue
Block a user