Closed AnderBiguri closed 3 years ago
The error message is confusing because I forgot at the time of writing that in Python base class properties are not inherited and did not initialize self.input to None in the derived class. If I did, the error message would be perfectly clear: 'input image not set'.
Fixed now.
errors as:
Solution is easy, give
process()
the input as argument. But given thatset_up
requires an image, should we either set it up asself.input
, or instead, just improve the check inprocess
with something likehasattr(self,"input")
?(happy to do a PR, just let me know which option you prefer)