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

Use nireports for HTML reports #808

Merged
merged 4 commits into from
Aug 26, 2024
Merged

Use nireports for HTML reports #808

merged 4 commits into from
Aug 26, 2024

Conversation

tsalo
Copy link
Member

@tsalo tsalo commented Aug 16, 2024

Closes #805.

Changes proposed in this pull request

Documentation that should be reviewed

@mattcieslak
Copy link
Collaborator

I think we should move the interactive report workflows into a recon workflow instead of in reports

@tsalo
Copy link
Member Author

tsalo commented Aug 21, 2024

Ah okay. I can drop it and just modify the expected outputs.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 28.21%. Comparing base (6decb38) to head (59a73e0).

Files Patch % Lines
qsiprep/reports/core.py 0.00% 3 Missing ⚠️
qsiprep/cli/workflow.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #808      +/-   ##
==========================================
- Coverage   28.59%   28.21%   -0.38%     
==========================================
  Files          69       69              
  Lines       10218    10040     -178     
  Branches     1331     1299      -32     
==========================================
- Hits         2922     2833      -89     
+ Misses       7195     7111      -84     
+ Partials      101       96       -5     

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

@tsalo tsalo requested a review from mattcieslak August 21, 2024 21:22
Copy link
Collaborator

@mattcieslak mattcieslak left a comment

Choose a reason for hiding this comment

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

Does this nireports release support gifs?

# session_list = (
# config.execution.get().get('bids_filters', {}).get('dwi', {}).get('session')
# )
session_list = config.execution.get().get("bids_filters", {}).get("dwi", {}).get("session")
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is some interesting syntax

@@ -433,6 +433,7 @@ class execution(_Config):
"""Write out the computational graph corresponding to the planned preprocessing."""
dataset_links = {}
"""A dictionary of dataset links to be used to track Sources in sidecars."""
aggr_ses_reports = 4
Copy link
Collaborator

Choose a reason for hiding this comment

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

does this work now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah it should work with this PR. We can add a command-line parameter for it as well.

@tsalo
Copy link
Member Author

tsalo commented Aug 22, 2024

Unfortunately not yet. We need to follow up with nireports to support gifs.

@tsalo
Copy link
Member Author

tsalo commented Aug 23, 2024

I've opened a PR to support GIFs in nipreps/nireports#128.

@tsalo tsalo added the refactor Changes to the codebase that don't impact workflow inputs or outputs. label Aug 26, 2024
@tsalo tsalo merged commit 99d9ac1 into master Aug 26, 2024
20 checks passed
@tsalo tsalo deleted the use-nireports branch August 26, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Changes to the codebase that don't impact workflow inputs or outputs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use nireports for report generation
3 participants