def __init__(self): apm.register_plugins() # Algorithms self.algo_convert_img = ConvertImage("convert_image") self.algo_image_io = ImageIo("image_reader") self.algo_track_features = TrackFeatures("feature_tracker") # Other tool variables self.image_list_filepath = None self.mask_list_filepath = None self.invert_masks = False self.expect_multichannel_masks = False self.output_tracks_filepath = None
def __init__(self): apm.register_plugins() # Algorithms self.algo_convert_img = ConvertImage("convert_image") self.algo_image_io = ImageIo("image_reader") self.algo_track_features = TrackFeatures("feature_tracker") # Other tool variables self.image_list_filepath = None self.mask_list_filepath = None self.invert_masks = False self.expect_multichannel_masks = False self.output_tracks_filepath = None
def setup_class(cls): apm.register_plugins()
def test_add_search_path_bad_dir(self): apm.add_search_path("/probably/not/a/directory/foo") apm.register_plugins()
def test_add_search_path(self): apm.add_search_path("/") apm.register_plugins()
def test_load(self): apm.register_plugins()
def setup_class(cls): apm.register_plugins()