diff ProteinInteractions.py @ 8:355ad1ce474b draft

Uploaded
author bornea
date Wed, 23 Mar 2016 10:45:39 -0400
parents 5935066604a7
children dd0b4c901d0a
line wrap: on
line diff
--- a/ProteinInteractions.py	Tue Mar 15 15:36:52 2016 -0400
+++ b/ProteinInteractions.py	Wed Mar 23 10:45:39 2016 -0400
@@ -96,7 +96,7 @@
                 error.write(uniprot_accession_in + '\t' + "Invalid URL. Check protein" + '\n')
                 seqlength = 'NA'
                 genename = 'NA'
-                return ReturnValue1(seqlength, genename)
+                return ReturnValue1(seqlength, genename, genename)
             elif err.code == 302:
                 sys.exit("Request timed out. Check connection and try again.")
             else: