WayScience / CytoSnake

Orchestrating high-dimensional cell morphology data processing pipelines
https://cytosnake.readthedocs.io
Creative Commons Attribution 4.0 International
3 stars 3 forks source link

CytoSnake modules fails when using multiple inputs and generating one output due to `get_data_path()` #85

Open axiomcura opened 1 year ago

axiomcura commented 1 year ago

This issue stems from#84, since there is no structure on how to select data within CytoSnake, it is very difficult to for the get_data_path() function to work properly.

For the time being, a static string path will be placed as a placeholder for users wanting to use the consensus module.

This is the work around:

elif input_type == "consensus":
        data_path = (datapaths
                        .build_path(input_type=input_type)
                        .replace("{basename}", ""))
        return data_path

The code block above, within the get_data_path()function, always returns the static string consensus_profile.csv.gz. The wild card is removed.