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

Improve code compliance to BIDS in BlueprintOputput #189

Merged
merged 3 commits into from
Mar 27, 2020

Conversation

smoia
Copy link
Member

@smoia smoia commented Mar 26, 2020

Closes #184 better than #187

Proposed Changes

  • Instead of a final transposition of the timeseries attribute of the BlueprintOuput during export, the object is initialised BIDS compliant.

@smoia smoia added the Enhancement New feature or request label Mar 26, 2020
@smoia smoia requested review from rmarkello and eurunuela March 26, 2020 18:40
@smoia smoia changed the title Refactor/output timeseries Improve code compliance to BIDS in BlueprintOputput Mar 26, 2020
@codecov
Copy link

codecov bot commented Mar 26, 2020

Codecov Report

Merging #189 into master will not change coverage by %.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #189   +/-   ##
=======================================
  Coverage   94.54%   94.54%           
=======================================
  Files           7        7           
  Lines         568      568           
=======================================
  Hits          537      537           
  Misses         31       31           
Impacted Files Coverage Δ
phys2bids/phys2bids.py 90.44% <100.00%> (ø)
phys2bids/physio_obj.py 92.04% <100.00%> (ø)

Copy link
Collaborator

@eurunuela eurunuela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 💯

@smoia smoia added the Minormod This PR generally closes an `Enhancement` issue. It increments the minor version (0.+1.0) label Mar 27, 2020
Copy link
Member

@rmarkello rmarkello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me !

Looking at this made me think that we should potentially discuss revisiting the BlueprintOutput object to use some special dunder features (like __index__ and __getitem__) to make it a bit easier to use, but I'll make an issue with my thoughts on that !

@smoia smoia merged commit 07bec6a into physiopy:master Mar 27, 2020
@smoia smoia deleted the refactor/output_timeseries branch March 30, 2020 11:23
@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 Minormod This PR generally closes an `Enhancement` issue. It increments the minor version (0.+1.0) released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output files are not BIDS compliant
3 participants