1. biolab
  2. Untitled project
  3. orange

Commits

Marko Toplak  committed 1f5732d

Removed datasetsdir from Orange/testing/testing.py.

  • Participants
  • Parent commits 7dad2e3
  • Branches default

Comments (0)

Files changed (1)

File Orange/testing/testing.py

View file
  • Ignore whitespace
 DISCRETIZE_DOMAIN = 16
 CONTINUIZE_DOMAIN = 32
 
-datasetsdir = os.path.join(os.path.dirname(orange.__file__), "doc", "datasets")
-
 def open_data(name, flags=0):
     """ Open a named data-set return it. 
     """
-    dataset = orange.ExampleTable(os.path.join(datasetsdir, name))
+    dataset = orange.ExampleTable(name)
     if flags & CONTINUIZE_DOMAIN:
         preprocessor = preprocess.Continuize()
         dataset = preprocessor(dataset)