NeuroTechX / NeuroTechX/moabb

Add moabb.run as installed script

Open
#175 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement moabb
Dominant language
Python
Stars
1.1k
Forks
264
Avg merge
1d 13m
Merged PRs (30d)
23

Description

poetry is able to install scripts along with python package. see docs and example from poetry itself

We could add moabb.run.py as a script named just moabb, so instead of

python -m moabb.run --pipelines=./moabb/tests/test_pipelines/ --verbose

one will be able to call

moabb --pipelines=./moabb/tests/test_pipelines/ --verbose

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading moabb.run.py and the Poetry scripts documentation linked in the issue. Check the package configuration for how scripts are declared, then verify that installing the package provides a moabb command accepting the existing --pipelines and --verbose options. Done means the command replaces the shown python -m invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.