mriqc icon indicating copy to clipboard operation
mriqc copied to clipboard

ICA component images do not load in functional report

Open danlurie opened this issue 7 years ago • 9 comments

MRIQC v. 0.9.2 (not running via Docker/Singularity, unfortunately).

Running with --ica produces a melodic_reportlet.svg image in the working directory...

screenshot_5_2_17__20_50

...but the ICA plots don't load at all in the report page.

mriqc__individual_bold_report

Here's the command-line call used for this run.

mriqc \
    --participant_label $SUB_ID \
    -m T1w bold \
    --n_procs 5 \
    --mem_gb 8 \
    --ica \
    --ants-nthreads 3\
    -w /home/despoB/dlurie/Projects/despolab_lesion/qc/work \
    --report-dir /home/despoB/dlurie/Projects/despolab_lesion/qc/report \
    --verbose-reports \
    /home/despoB/lesion/data/original/bids/ \
    /home/despoB/dlurie/Projects/despolab_lesion/qc/out \
    participant 

I've attached the HTML report page as a .zip. Let me know if there is any other info I can provide to help track down the cause.

sub-193_task-rest_acq-64px_run-02_bold.html.zip

danlurie avatar May 03 '17 03:05 danlurie

That is bizzare. Was this run outside without a container? Do you have SVGO and CWEBP installed (they should be optional)?

On Tue, May 2, 2017 at 8:52 PM, Daniel Lurie [email protected] wrote:

MRIQC v. 0.9.2 (not running via Docker/Singularity, unfortunately).

Running with --ica produces a melodic_reportlet.svg image in the working directory...

[image: screenshot_5_2_17__20_50] https://cloud.githubusercontent.com/assets/1873103/25647681/03b431c6-2f79-11e7-813c-4e5954bea441.jpg

...but the ICA plots don't load at all in the report page.

[image: mriqc__individual_bold_report] https://cloud.githubusercontent.com/assets/1873103/25647608/353e6186-2f78-11e7-8fe6-cafd9c7ed11a.jpg

Here's the command-line call used for this run.

mriqc
--participant_label $SUB_ID
-m T1w bold
--n_procs 5
--mem_gb 8
--ica
--ants-nthreads 3
-w /home/despoB/dlurie/Projects/despolab_lesion/qc/work
--report-dir /home/despoB/dlurie/Projects/despolab_lesion/qc/report
--verbose-reports
/home/despoB/lesion/data/original/bids/
/home/despoB/dlurie/Projects/despolab_lesion/qc/out
participant

I've attached the HTML report page as a .zip. Let me know if there is any other info I can provide to help track down the cause.

sub-193_task-rest_acq-64px_run-02_bold.html.zip https://github.com/poldracklab/mriqc/files/972418/sub-193_task-rest_acq-64px_run-02_bold.html.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/poldracklab/mriqc/issues/477, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkpxAblFREhhPPreFy_eKPD-sEZTCiks5r1_n4gaJpZM4NO71U .

chrisgorgo avatar May 04 '17 14:05 chrisgorgo

Run on a manual install. svgo and cwebp were not installed when I first encountered the issue, so I just installed them and then re-generated the reports, but the issue persists.

(Still working on getting Singularity running on our server.)

danlurie avatar May 04 '17 21:05 danlurie

Update: It seems like the ICA images are there, but something goes wrong when the browser tries to display them. If I scroll down to the ICA section of the report and refresh the page, the component images and plots appear very briefly (<500ms) when the page loads, and then disappear. It's hard to be sure, but during their brief appearance, it looks like the component images much larger than they should be (~5x larger). The plots look like they're the right size.

Not sure if this helps at all, and I haven't yet had a chance to try running the latest version of mriqc or running in a container, but I figured I'd report back just in case.

danlurie avatar May 26 '17 21:05 danlurie

I have the same issue with the ICA output when running the current version of mriqc (0.9.6) inside a container, if the .html is moved away from the reports directory. All other images load fine.

screenshot 2017-07-27 12 52 42

stjep avatar Jul 27 '17 17:07 stjep

The ICA plots seem to render fine for me only if I open the individual reports in Chrome on Windows and Ubuntu. They don't show running Chrome on Mac OS or in Firefox on any OS.

stjep avatar Aug 23 '17 18:08 stjep

That's useful info. We might need to consider a different codec for raster file compression.

Which version of chrome does it fail on Mac?

On Aug 23, 2017 11:10 AM, "Dan Stjepanović" [email protected] wrote:

The ICA plots seem to render fine for me only if I open the individual reports in Chrome on Windows and Ubuntu. They don't show running Chrome on Mac OS or in Firefox on any OS.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/poldracklab/mriqc/issues/477#issuecomment-324417597, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkp6JdkJHn0WSbzQVs7nZk9DrjAStuks5sbGstgaJpZM4NO71U .

chrisgorgo avatar Aug 23 '17 18:08 chrisgorgo

I just tried Mac OS again and it works fine on this version of Chrome (it's auto-updating, so not sure if this is a change or I was mis-remembering). No other browsers work. Same deal on Windows, the most recent version of Chrome is fine but IE and Firefox don't work.

Might be that Chrome works always but other rendering engines trip up with the ICA output.

stjep avatar Aug 23 '17 20:08 stjep

Yes - this makes sense considering we use WEBP.

On Thu, Aug 24, 2017 at 4:10 AM, Dan Stjepanović [email protected] wrote:

I just tried Mac OS again and it works fine on this version of Chrome, but no other browser. Same deal on Windows, the most recent version of Chrome is fine but IE and Firefox don't work.

Might be that Chrome works always but other rendering engines trip up with the ICA output.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/poldracklab/mriqc/issues/477#issuecomment-324448473, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkp1qijVsBo_5E03djfXPIt_J6FDlRks5sbIdLgaJpZM4NO71U .

chrisgorgo avatar Aug 23 '17 20:08 chrisgorgo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 15 '18 01:08 stale[bot]