Skip to content

Commit 0aa6370

Browse files
committed
added to diff documentation, undid executable change, took out debugging script in test_scripts
1 parent 76ca32f commit 0aa6370

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

nibabel/cmdline/diff.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ def get_data_diff(files, max_abs=0, max_rel=0):
156156
157157
Returns
158158
-------
159-
TODO
159+
OrderedDict
160+
str: absolute and relative differences of each file, given as float
160161
"""
161162
# we are doomed to keep them in RAM now
162163
data = [f if isinstance(f, np.ndarray) else nib.load(f).get_data() for f in files]

nibabel/cmdline/tests/test_utils.py

100755100644
File mode changed.

nibabel/tests/test_scripts.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ def check_nib_diff_examples():
7777
"quatern_c", "quatern_d", "qoffset_x", "qoffset_y", "qoffset_z", "srow_x",
7878
"srow_y", "srow_z", "DATA(md5)", "DATA(diff 1:)"]
7979
for item in checked_fields:
80-
if item not in stdout:
81-
print(item)
82-
print(stdout)
8380
assert_true(item in stdout)
8481

8582
fnames2 = [pjoin(DATA_PATH, f)

0 commit comments

Comments
 (0)