Skip to content

Restructuring of app.py #32

@LucasCampos

Description

@LucasCampos

I have to preface this saying that the design of vb_tool was never great to start with. I think that now that we are about to add another mode, hybrid searchlight (check pull #31), we really have to reconsider our approach. My main issue is that there are far too many flags that depend on the specific mode, which can be super confusing.

I propose the following new design:

  • Each mode will have its own entry point (vb_searchlight, vb_fullbrain, etc)
  • The existing vb_tool would print a help message explaining the various entry points
    • A second idea is that we could have something like vb_tool [tool] --flag1 --flag2 (...). I am still in favour of the first one, though.

This would, of course, break backwards compatibility.

Do you think this is a good approach?

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