1. Janez Demšar
  2. orange40

Commits

astaric  committed cb699dc

Fixed a failing test.

  • Participants
  • Parent commits 704c9fa
  • Branches default

Comments (0)

Files changed (1)

File Orange/data/table.py

View file
         try:
             if isinstance(args[0], str):
                 return cls.read_data(args[0])
-            if isinstance(args[0], Domain):
+            if isinstance(args[0], Domain) and len(args) == 1:
                 return cls.new_from_domain(args[0])
             if isinstance(args[0], Domain) and \
                all(isinstance(arg, np.ndarray) for arg in args[1:]):