func SafelyNiftiParse(filename string, rdata bool) (parsedData nifti.Nifti1Image, err error) {
	defer func() {
		if panicErr := recover(); panicErr != nil {
			err = fmt.Errorf("%v", panicErr)
		}
	}()

	parsedData.LoadImage(filename, rdata)

	return
}
// SafelyNiftiParse consumes panics emitted by the nifti library, which are
// inappropriate and must be captured in order to turn them into recoverable
// errors.
SafelyNiftiParse consumes panics emitted by the nifti library, which are
inappropriate and must be captured in order to turn them into recoverable
errors.
// SafelyNiftiParse consumes panics emitted by the nifti library which are // inappropriate and must be captured in order to turn them into recoverable // errors .
func SafelyNiftiParse(filename string, rdata bool) (parsedData nifti.Nifti1Image, err error) {
	defer func() {
		if panicErr := recover(); panicErr != nil {
			err = fmt.Errorf("%v", panicErr)
		}
	}()
	parsedData.LoadImage(filename, rdata)
	return
}
func SafelyNiftiParse ( filename string , rdata bool ) ( parsedData nifti . Nifti1Image , err error ) { defer func ( ) { if panicErr := recover ( ) ; panicErr != nil { err = fmt . Errorf ( " " , panicErr ) } } ( ) parsedData . LoadImage ( filename , rdata ) return }
SafelyNiftiParse consumes panics emitted by the nifti library, which are
inappropriate and must be captured in order to turn them into recoverable
errors.
SafelyNiftiParse consumes panics emitted by the nifti library which are inappropriate and must be captured in order to turn them into recoverable errors .