Skip to content

Commit 27baa68

Browse files
committed
sty: Remove unnecessary trailing whitespace in summary
1 parent 1c8010b commit 27baa68

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

nibabel/gifti/gifti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def _to_xml_element(self):
374374
def print_summary(self):
375375
print('Dataspace: ', xform_codes.niistring[self.dataspace])
376376
print('XFormSpace: ', xform_codes.niistring[self.xformspace])
377-
print('Affine Transformation Matrix: \n', self.xform)
377+
print('Affine Transformation Matrix:\n', self.xform)
378378

379379

380380
def _data_tag_element(dataarray, encoding, dtype, ordering):

nibabel/gifti/tests/test_gifti.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,12 @@ def test_gifti_coord(capsys):
425425
captured = capsys.readouterr()
426426
assert (
427427
captured.out
428-
== """Dataspace: NIFTI_XFORM_UNKNOWN
428+
== """\
429+
Dataspace: NIFTI_XFORM_UNKNOWN
429430
XFormSpace: NIFTI_XFORM_UNKNOWN
430-
Affine Transformation Matrix:
431+
Affine Transformation Matrix:
431432
None
432-
"""
433+
"""
433434
)
434435
gcs.to_xml()
435436

0 commit comments

Comments
 (0)