Skip to content

[feature] : Handle different configurations #1220

@ns-rse

Description

@ns-rse

Is your feature request related to a problem?

As I've started work on @LaiaPasquina AFMSlicer translation I would like the ability to write a configuration file for this particular workflow. That currently isn't possible with io.write_config_with_comments() it pulls the config_path from resources.files(__package__) / "[simple_config,default_config].yaml" which will always be TopoStats.

Describe the solution you would like.

We should add an additional option to io.write_config_with_comments() which indicates the type of pipeline we are running and in turn where the configuration is loaded from so that a configuration file is loaded from that package. A similar approach would benefit "PerovStats" and make TopoStats a more flexible package that others can build on.

Describe the alternatives you have considered.

Copying and pasting the functions into new/other packages.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions