diff --git a/src/webservice.py b/src/webservice.py index ba6a68fab286bcf62328f98274f192075ce87047..f7a41e7461269c85ff7353f1d08a277bb0a2f9b3 100644 --- a/src/webservice.py +++ b/src/webservice.py @@ -842,6 +842,11 @@ class MutalyzerService(DefinitionBase) : "Finished processing sliceChromosomeByGene(%s, %s, %s, %s)" % ( geneSymbol, organism, upStream, downStream)) + if not UD: + error = 'The request could not be completed\n' \ + + '\n'.join(O.getMessages()) + raise Exception(error) + return UD #sliceChromosomeByGene