From b1f61657b5d042979578b6573aa67365dc551146 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 9 Jun 2021 22:36:28 +0200 Subject: cleanup comment --- skate/url.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skate/url.go b/skate/url.go index 17c8ff8..cb14754 100644 --- a/skate/url.go +++ b/skate/url.go @@ -38,7 +38,7 @@ func SanitizeURL(s string) string { } else if len(indices) > 1 { sort.Ints(indices) // http://ailab.ist.psu.edu/bcpred/SVMTriP:http://sysbio.unl.edu/SVMTriP/prediction.phpBcell - s = s[indices[0]:indices[1]] // only use the first + s = s[indices[0]:indices[1]] s = strings.TrimRight(s, ":") s = strings.TrimRight(s, ";") } -- cgit v1.2.3