Skip to content
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

[REF,ENH] Makes phys2bids a Python package #20

Merged
merged 23 commits into from
Nov 12, 2019

Conversation

rmarkello
Copy link
Member

@rmarkello rmarkello commented Nov 12, 2019

Closes #11, begins to address #12.

Major reorganization that converts the single (or two?) scripts into an importable, installable Python package.

To conform to expected format of traditional Python packages. Also made
some minor changes to fix linting, etc.
Using either `python setup.py install` or `pip install .`
Allow importing from either file or one of default names
Temporarily until we can extract the relevant pieces and move the
workflow to `phys2bids.cli.run`
Tried to recreate full filepath to provided file inside of -outdir
No tests yet though :(
@rmarkello rmarkello changed the title [REF,ENH] Makes phys2bids a Python package [WIP,REF,ENH] Makes phys2bids a Python package Nov 12, 2019
docs/cli.rst Outdated Show resolved Hide resolved
docs/cli.rst Outdated Show resolved Hide resolved
docs/cli.rst Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
phys2bids/physiobids.py Outdated Show resolved Hide resolved
phys2bids/physiobids.py Outdated Show resolved Hide resolved
rmarkello and others added 5 commits November 11, 2019 23:34
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
@smoia smoia added the Enhancement New feature or request label Nov 12, 2019
rmarkello and others added 2 commits November 11, 2019 23:35
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
Co-Authored-By: Stefano Moia <s.moia@bcbl.eu>
@smoia smoia added the Majormod This PR breaks compatibility, and increments the major version (+1.0.0) label Nov 12, 2019
@rmarkello rmarkello changed the title [WIP,REF,ENH] Makes phys2bids a Python package [REF,ENH] Makes phys2bids a Python package Nov 12, 2019
@smoia smoia merged commit 37b8968 into physiopy:master Nov 12, 2019
@rmarkello rmarkello deleted the packaging branch December 18, 2019 20:10
@smoia smoia added the released This issue/pull request has been released. label Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Majormod This PR breaks compatibility, and increments the major version (+1.0.0) released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reorganise the script folder & files
2 participants