Skip to content

Commit 3b61513

Browse files
committed
TST: Add test for gzip compression
1 parent d8bd2b3 commit 3b61513

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nipype/algorithms/misc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ class Gunzip(BaseInterface):
288288
>>> res = gunzip.run()
289289
>>> res.outputs.out_file # doctest: +ELLIPSIS
290290
'.../tpms_msk.nii'
291+
>>> gunzip = Gunzip(in_file='tpms_msk.nii', compress=True)
292+
>>> res = gunzip.run()
293+
>>> res.outputs.out_file # doctest: +ELLIPSIS
294+
'.../tpms_msk.nii.gz'
291295
292296
.. testcleanup::
293297

0 commit comments

Comments
 (0)