Skip to content

Commit

Permalink
Pass specwidth validator str to match existing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
wtclarke committed Oct 21, 2024
1 parent 0755390 commit ba31b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nifti_mrs/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def validate_nifti_mrs(nifti_mrs):

# Validate that any SpectralWidth definition matches pixdim[4]
validate_spectralwidth(
nifti_mrs.header.extensions[0].json(),
nifti_mrs.header.extensions[0].text,
nifti_mrs.header['pixdim'][4])


Expand Down

0 comments on commit ba31b45

Please sign in to comment.