Skip to content

xASL_vis_CreateVisualFig crashes with empty overlay #652

@HenkMutsaerts

Description

@HenkMutsaerts

Description

When testing Philips_2DEPI_FEAST_Longitudinal_FLAIR_LGA_ASL_PartlyDone_HiQ/derivatives/ExploreASL/151001_1 this crashed in xASL_vis_CreateVisualFig because the overlay WMH_SEGM over FLAIR was empty. Now it prints a subtle warning (not warning() but fprintf()) and uses the empty overlay (essentially printing the FLAIR image without the overlay in this example.

How to test

Create a NIfTI with an empty image matrix an try to overlay this over another image, using this function.

Release notes

#??? xASL_vis_CreateVisualFig: allow empty overlays

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions