From ebeeace5d19a36f79682562c11bd046ebe1fb2bb Mon Sep 17 00:00:00 2001 From: Martijn Vermaat <martijn@vermaat.name> Date: Mon, 5 Sep 2011 09:40:52 +0000 Subject: [PATCH] Fix in soaptools example client code. git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/refactor-mutalyzer-branch@345 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1 --- extras/soap-tools/namecheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/soap-tools/namecheck.py b/extras/soap-tools/namecheck.py index 470a0b15..660ed797 100755 --- a/extras/soap-tools/namecheck.py +++ b/extras/soap-tools/namecheck.py @@ -56,7 +56,8 @@ if r.messages: for m in r.messages.SoapMessage: print 'Error %s: %s\n' % (m.errorcode, m.message) -print 'Chromosomal description: %s' % r.chromDescription +if 'chromDescription' in r: + print 'Chromosomal description: %s' % r.chromDescription print 'Genomic description: %s' % r.genomicDescription if r.transcriptDescriptions: -- GitLab