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

logging MAPCA subsampling #951

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

handwerkerd
Copy link
Member

Once ME-ICA/mapca#57 is merged into MAPCA, it will be possible for tedana to log the estimated subsampling value and several related parameters.

Changes proposed in this pull request:

  • Logs several values related to the IID subsampling estiamte that are related to desc-PCACrossComponent_metrics.json
  • A few PCA-related documentation changes that were noticed when writing this PR

I decided to add a conditional statement to only log these new values if they exist. The alternative is, once the above PR is merged into MAPCA, we release a new version of MAPCA and then update the minimum MAPCA version allowed with tedana. I'd rather just merge for now and then we can delete the conditional in the same PR where the minimum version of MAPCA is increased.

@handwerkerd handwerkerd requested review from eurunuela and tsalo June 7, 2023 20:09
@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.06 ⚠️

Comparison is base (18e950d) 88.97% compared to head (2b599db) 88.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #951      +/-   ##
==========================================
- Coverage   88.97%   88.91%   -0.06%     
==========================================
  Files          27       27              
  Lines        3373     3375       +2     
  Branches      617      618       +1     
==========================================
  Hits         3001     3001              
- Misses        226      227       +1     
- Partials      146      147       +1     
Impacted Files Coverage Δ
tedana/decomposition/pca.py 75.39% <0.00%> (-1.22%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@handwerkerd handwerkerd mentioned this pull request Jun 8, 2023
1 task
@eurunuela
Copy link
Collaborator

LGTM!

@handwerkerd handwerkerd added enhancement issues describing possible enhancements to the project decomposition issues related to decomposition methods labels Jun 9, 2023
Copy link
Collaborator

@dowdlelt dowdlelt left a comment

Choose a reason for hiding this comment

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

Nice step in the right direction, going to try and do more reviewing of the other, related PR soon - but this one LGTM.

@handwerkerd
Copy link
Member Author

@eurunuela If you're also ok with this, could you approve so that I can merge?

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.

I'm happy with the changes. I was just waiting to see if Logan had anything to say.

@handwerkerd handwerkerd merged commit 09929c2 into ME-ICA:main Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decomposition issues related to decomposition methods enhancement issues describing possible enhancements to the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants