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

	parsedData.LoadHeader(filename)

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