Skip to content
Snippets Groups Projects
Commit 41e1c95a authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Merge branch 'dev_check_ilastik_workflow' into 'staging'

Report expected class of model, not actual class of shell

See merge request !32
parents 9c867827 635a2926
No related branches found
No related tags found
3 merge requests!37Release 2024.04.19,!34Revert "Temporary error-handling for debug...",!32Report expected class of model, not actual class of shell
......@@ -62,7 +62,7 @@ class IlastikModel(Model):
assert True
if not isinstance(shell.workflow, self.get_workflow()):
raise ParameterExpectedError(
f'Ilastik project file {self.project_file} does not describe an instance of {shell.workflow.__class__}'
f'Ilastik project file {self.project_file} does not describe an instance of {self.__class__}'
)
self.shell = shell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment