From 743451d5891162a7b77314979bad6098595d7e7f Mon Sep 17 00:00:00 2001 From: kvnjng Date: Thu, 25 Apr 2019 14:06:35 -0400 Subject: [PATCH] change verbeage of API error message --- LDlink/LDlink.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/LDlink/LDlink.py b/LDlink/LDlink.py index 619dbb8c..4fd7be3a 100755 --- a/LDlink/LDlink.py +++ b/LDlink/LDlink.py @@ -448,7 +448,7 @@ def ldhap(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False @@ -535,7 +535,7 @@ def ldmatrix(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False @@ -598,7 +598,7 @@ def ldpair(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False @@ -654,7 +654,7 @@ def ldpop(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False @@ -706,7 +706,7 @@ def ldproxy(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False @@ -764,7 +764,7 @@ def snpchip(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False @@ -856,7 +856,7 @@ def snpclip(): except: return sendTraceback(None) else: - return sendJSON("Please use LDLink API when accessing modules programmatically.") + return sendJSON("This web API route does not support programmatic access. Please use the API routes specified on the API Access web page.") else: # API REQUEST web = False