@@ -61,6 +61,15 @@ def __init__(
6161 See above for all other parameters.
6262 """
6363
64+ # setting DeepProfilerData deprecation warning
65+ warnings .warn (
66+ "The DeepProfilerData class is deprecated and will be removed in a future "
67+ "Pycytominer release. Please use CytoTable instead: "
68+ "https://github.com/cytomining/CytoTable" ,
69+ category = DeprecationWarning ,
70+ stacklevel = 2 ,
71+ )
72+
6473 self .index_df = pd .read_csv (index_file , dtype = str )
6574 self .profile_dir = profile_dir
6675 self .filename_delimiter = filename_delimiter
@@ -175,6 +184,16 @@ def __init__(
175184 ---------
176185 See above for all parameters.
177186 """
187+
188+ # setting AggregateDeepProfiler deprecation warning
189+ warnings .warn (
190+ "The AggregateDeepProfiler class is deprecated and will be removed in a future "
191+ "Pycytominer release. Please use CytoTable instead: "
192+ "https://github.com/cytomining/CytoTable" ,
193+ category = DeprecationWarning ,
194+ stacklevel = 2 ,
195+ )
196+
178197 if aggregate_operation not in [
179198 "median" ,
180199 "mean" ,
@@ -369,7 +388,14 @@ def __init__(
369388 ---------
370389 See above for all parameters.
371390 """
372-
391+ # setting SingleCellDeepProfiler deprecation warning
392+ warnings .warn (
393+ "The SingleCellDeepProfiler class is deprecated and will be removed in a future "
394+ "Pycytominer release. Please use CytoTable instead: "
395+ "https://github.com/cytomining/CytoTable" ,
396+ category = DeprecationWarning ,
397+ stacklevel = 2 ,
398+ )
373399 self .deep_data = deep_data
374400
375401 def get_single_cells (
0 commit comments