-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] Add tiny BIDS test dataset, fix doctests, and run it in CI (#831)
* fix doctests in path.py * test: use pytest --doctest-modules * fix some more examples * make use of _write_json instead of json.dump * fix fine-calib and crosstalk doctest * DATA: add tiny_bids test dataset ~800kb * fix all doctests using new test ds * add code for generating tiny_bids * fix example, sphinx warning * use tiny_bids in bidspath example, fix #829 * write TSV files with newline character * add missing newlines at end of files * do not run pytest on examples we did not do that before either, but --doctest-modules is now ON and that option apparently also runs the examples * add whatsnew for TSV line end * properly ignore examples in pytest * fix head_to_mri upstream API change * xfail doctest on windows due to / vs \ * BIDSPath __str__ always .as_posix() * fix op.join -> Path * root in __repr__ --> posix path or None * circumvent bids_path.root __str__ * 1) fix pep, 2) fix type hints, 3) fix example ds * fix type hint * I should run make pep before pushing
- Loading branch information
1 parent
2d8a721
commit 0db039f
Showing
24 changed files
with
722 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.