~mapclient.devs/mapclient/stable

« back to all changes in this revision

Viewing changes to mapclient/core/workflowscene.py

  • Committer: musculoskeletal
  • Date: 2014-06-25 05:38:05 UTC
  • mfrom: (1.6.35 testing)
  • Revision ID: musculoskeletal@bioeng1033-20140625053805-jkqhi5oq74vmlntl
Merging testing into stable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
'''
20
20
from PySide import QtCore
21
21
 
22
 
from mountpoints.workflowstep import workflowStepFactory
23
 
 
 
22
from mapclient.mountpoints.workflowstep import workflowStepFactory
 
23
from mapclient.core.workflowerror import WorkflowError
24
24
 
25
25
class Item(object):
26
26
 
194
194
                    new_connections = self._connectionsForNodes(node, current_node)
195
195
                    connections.extend([c for c in new_connections if c not in connections])
196
196
                    if len(new_connections) == 0:
197
 
                        raise('Connection in workflow not found, something has gone horribly wrong')
 
197
                        raise WorkflowError('Connection in workflow not found, something has gone horribly wrong')
198
198
 
199
199
                for connection in connections:
200
200
                    dataIn = connection.source()._step.getPortData(connection.sourceIndex())