Skip to content

Conversation

@eilidhmacnicol
Copy link
Contributor

@eilidhmacnicol eilidhmacnicol commented Mar 17, 2025

Closes #12

Had to implement parsing for flexibility of the output table, so also fixes #1 but this is a half baked( i.e., doesn't extend to argprep.py so would need to be added in another PR)

WIP because it needs to be tested tomorrow, but the dataset I'm working on doesn't have a key-value pair for section, (e.g. slide-11_01 should be slide-11_section-01 so that we can take advantage of the section replicates)
Will update once this is done and ask @eugenegkim formally for a review when this is ready to merge

@eilidhmacnicol
Copy link
Contributor Author

eilidhmacnicol commented Mar 17, 2025

Also leaving myself a note to remember to run ruff locally before merge:

  • ruff linting
  • ruff formatting

@eilidhmacnicol
Copy link
Contributor Author

Okay - ready for review @eugenegkim. Tested locally by renaming files from one subject, and now preproc data has been renamed on the nan, but want to merge this before running it there.

@eilidhmacnicol eilidhmacnicol changed the title WIP: measurement table improvements enh: measurement table improvements Mar 18, 2025
This was linked to issues Mar 18, 2025
Copy link
Contributor

@eugenegkim eugenegkim left a comment

Choose a reason for hiding this comment

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

Looks good to me.

One thing to consider adding in the future: having utils.parse_kv look for a keyless suffix at the end of a filename.

@eilidhmacnicol eilidhmacnicol merged commit c4a51f6 into braincentrekcl:main Mar 18, 2025
@eilidhmacnicol eilidhmacnicol deleted the enh/measurement_table branch March 18, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TODO: implement bids-parsing include parsing function to roi_extract add parsing function TODO: implement measurement table from ROI data

2 participants