Skip to content

Commit

Permalink
Release for BIDS validator use that fixes console output bugs
Browse files Browse the repository at this point in the history
Notes this is a fork in the README and publishes to a new NPM package.
  • Loading branch information
nellh committed Oct 30, 2024
1 parent ab1ad42 commit 8ac5ec5
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 21 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This is a fork of the [upstream](https://github.com/rii-mango/NIFTI-Reader-JS/) with fixes for the [BIDS validator](https://jsr.io/@bids/validator).

# NIFTI-Reader-JS
A JavaScript [NIfTI](http://nifti.nimh.nih.gov/) file format reader. This reader supports both NIfTI-1 and NIfT1-2 file formats, both compressed (.nii.gz) and uncompressed (.nii).

Expand Down
2 changes: 1 addition & 1 deletion dist/__tests__/nifti-not-nifti.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/__tests__/nifti-not-nifti.spec.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/src/nifti.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export declare function decompress(data: ArrayBuffer): ArrayBufferLike;
/**
* Reads and returns the header object.
* @param {ArrayBuffer} data
* @returns {NIFTI1|NIFTI2|null}
* @returns {NIFTI1|NIFTI2}
*/
export declare function readHeader(data: ArrayBuffer, isHdrImgPairOK?: boolean): NIFTI1 | NIFTI2 | null;
export declare function readHeader(data: ArrayBuffer, isHdrImgPairOK?: boolean): NIFTI1 | NIFTI2;
/**
* Returns true if this header contains an extension.
* @param {NIFTI1|NIFTI2} header
Expand Down
2 changes: 1 addition & 1 deletion dist/src/nifti.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/src/nifti.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/nifti.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/utilities.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/src/utilities.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ac5ec5

Please sign in to comment.