Commits

Aleš Erjavec committed d9eebf8

BUGFIX. Removed a failing redundant import.

Creating a new obiTaxonomy database would fail when importing orngServerFiles from
the wrong namespace.

  • Participants
  • Parent commits 66a285f

Comments (0)

Files changed (1)

_bioinformatics/obiTaxonomy.py

         except Exception, ex:
             pass
         try:
-            from . import orngServerFiles as sf
-            sf.download("Taxonomy", "ncbi_taxonomy.tar.gz")
+            orngServerFiles.download("Taxonomy", "ncbi_taxonomy.tar.gz")
             self._text = TextDB(os.path.join(default_database_path, "ncbi_taxonomy.tar.gz", "ncbi_taxonomy.db"))
             self._info = TextDB(os.path.join(default_database_path, "ncbi_taxonomy.tar.gz", "ncbi_taxonomy_inf.db"))
             return