Rename stripNamespace strip_namespace
[htsworkflow.git] / htsworkflow / submission / geo.py
index ef8d9457218a76ce53f0872f44efafd6d478dea1..1d98bd5c9550e36408b3ba4faed02ee8d28cedee 100644 (file)
@@ -8,7 +8,7 @@ from htsworkflow.submission.submission import Submission
 from htsworkflow.util.rdfhelp import \
      fromTypedNode, \
      geoSoftNS, \
-     stripNamespace, \
+     strip_namespace, \
      submissionOntology
 
 from django.conf import settings
@@ -207,7 +207,7 @@ class GEOSubmission(Submission):
     def query_to_soft_dictionary(self, results, heading):
         attributes = []
         for r in results:
-            name = stripNamespace(geoSoftNS, r['name'])
+            name = strip_namespace(geoSoftNS, r['name'])
             if name is not None:
                 if name.lower() == heading.lower():
                     name = '^' + name