Temporary duplicated functions were introduced with this PR. Specifically, functions parse_cellsets and add_clusters were duplicated and slightly modified to accomodate changes made in the python worker, creating a parse_cellsets_temp and a add_clusters_temp function. Changes in the python worker were made to modify the structure of the cellsets object that is sent to R (function get_cell_sets_dict_for_r in python/src/worker/helpers/cell_sets_dict.py).
These functions are used also by the ScType worker task.
Goals
Remove duplicated functions, keeping the temp functions as reference, making sure that everything works fine in the ScType and download processed rds worker tasks.
Background
Temporary duplicated functions were introduced with this PR. Specifically, functions parse_cellsets and add_clusters were duplicated and slightly modified to accomodate changes made in the python worker, creating a parse_cellsets_temp and a add_clusters_temp function. Changes in the python worker were made to modify the structure of the cellsets object that is sent to R (function get_cell_sets_dict_for_r in python/src/worker/helpers/cell_sets_dict.py).
These functions are used also by the ScType worker task.
Goals
Remove duplicated functions, keeping the temp functions as reference, making sure that everything works fine in the ScType and download processed rds worker tasks.
Modify the R tests accordingly if necessary.