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

[ENH] Allow MED format for iEEG data (*_ieeg.medd/) #1956

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MEDFormat
Copy link

@MEDFormat MEDFormat commented Oct 15, 2024

Added MED format
Updated ieeg to include MED
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.87%. Comparing base (7ddb7be) to head (4fa72dc).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1956   +/-   ##
=======================================
  Coverage   86.87%   86.87%           
=======================================
  Files          16       16           
  Lines        1410     1410           
=======================================
  Hits         1225     1225           
  Misses        185      185           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@effigies effigies changed the title Update to include MED extension.yaml [ENH] Allow MED format for iEEG data (*_ieeg.medd/) Oct 15, 2024
@effigies effigies added iEEG needs review enhancement New feature or request labels Oct 15, 2024
Copy link
Collaborator

@Remi-Gau Remi-Gau left a comment

Choose a reason for hiding this comment

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

This should not be considered a blocker but I would REALLY like to see an example dataset with this type of data added to the BIDS examples repository.

@Remi-Gau
Copy link
Collaborator

This should not be considered a blocker but I would REALLY like to see an example dataset with this type of data added to the BIDS examples repository.

Will ping all the people who reacted on the associated issue to see if anyone is up for this.

@dorahermes @cimbi @EmmanuelBarbeau @michaelpereira73 @KLehongre @tjr1

@MEDFormat
Copy link
Author

MEDFormat commented Oct 16, 2024 via email

@Remi-Gau
Copy link
Collaborator

I just need permission

Note that the example datasets are 'emptied' of any data: https://github.com/bids-standard/bids-examples/blob/master/CONTRIBUTING.md#why-do-we-only-host-truncated-data-with-0kb-size

This should also make it easier to 'share' them, though we prefer when possible to make sure that the full 'source' dataset we are using is also openly accessible, but this is not a requirement.

@MEDFormat
Copy link
Author

MEDFormat commented Oct 16, 2024 via email

@Remi-Gau
Copy link
Collaborator

I meant the 'large' datafiles in the example datasets are truncated:

see here for how we do it.

https://github.com/bids-standard/bids-examples/blob/master/CONTRIBUTING.md#how-to-truncate-data-files-to-0kb

I guess header only files must be pretty light, so I think this could do as well. @effigies what do you think?

@MEDFormat
Copy link
Author

MEDFormat commented Oct 16, 2024 via email

@effigies
Copy link
Collaborator

BIDS examples are strictly about directory structure, file naming and BIDS-specified metadata. This allows us to validate the examples to exercise the rules.

If we intend to duplicate format-internal metadata in BIDS metadata and validate that they are the same, it's worth including enough header information to check that. We have one example with NIfTI files truncated to the header to do this, but otherwise the NIfTI files are truncated to 0 bytes and the header checks skipped.

This is not to say that there shouldn't be a place with a working MED example, just that that's not what bids-examples is for. What's ideal is if there is a canonical example, we can strip it down with a script for inclusion in bids-examples and link back to the original.

@MEDFormat
Copy link
Author

MEDFormat commented Oct 16, 2024 via email

@MEDFormat
Copy link
Author

MEDFormat commented Oct 17, 2024 via email

@effigies
Copy link
Collaborator

Fork https://github.com/bids-standard/bids-examples/ and add it in a pull request.

@MEDFormat
Copy link
Author

MEDFormat commented Oct 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update (new version) of MEF3 format (MED).
3 participants