Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
axiomcura opened this issue Sep 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@axiomcura
Copy link
Member

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.

@axiomcura axiomcura added the bug Something isn't working label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant