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

Add BIDS-compatible automatic reformatting of units of measure #222

Merged
merged 56 commits into from
Jun 2, 2020

Conversation

vinferrer
Copy link
Collaborator

Closes #127

Proposed Changes

  • add bids_untits.py
  • This file contains dictionaries and fucntions to convert units strings to proper bids formatting.
  • bidify_units converts unit string to bids formatting
  • this function doesn't do unit conversion it only puts the unit string in the right format

vinferrer and others added 30 commits March 30, 2020 13:23
Co-Authored-By: Eneko Uruñuela <13706448+eurunuela@users.noreply.github.com>
Co-Authored-By: Eneko Uruñuela <13706448+eurunuela@users.noreply.github.com>
Co-Authored-By: Eneko Uruñuela <13706448+eurunuela@users.noreply.github.com>
change help description

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>
phys2bids/bids_units.py Outdated Show resolved Hide resolved
phys2bids/bids_units.py Outdated Show resolved Hide resolved
phys2bids/bids_units.py Outdated Show resolved Hide resolved
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.

Thanks for making those changes, @vinferrer !

I have a few new comments based on the updates. Thanks for bearing with !

phys2bids/bids_units.py Outdated Show resolved Hide resolved
phys2bids/bids_units.py Show resolved Hide resolved
@vinferrer vinferrer requested a review from rmarkello May 29, 2020 08:40
@vinferrer
Copy link
Collaborator Author

@rmarkello I think we are done with this, unless someone has any comments?

@vinferrer vinferrer assigned smoia and vinferrer and unassigned eurunuela Jun 2, 2020
@vinferrer vinferrer added this to the phys2bids first non-beta milestone Jun 2, 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.

LGTM! Thanks for integrating all the changes.

@rmarkello rmarkello merged commit a60e951 into physiopy:master Jun 2, 2020
@smoia smoia mentioned this pull request Jun 2, 2020
@vinferrer vinferrer deleted the bids_units branch June 16, 2020 06:59
@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
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.

Adhering to BIDS units standards
4 participants