Skip to content
Snippets Groups Projects
Commit 5307c85f authored by Paul McCarthy's avatar Paul McCarthy
Browse files

That new strval method removes leading/trailing whitespace

parent a5b4b5b4
No related branches found
No related tags found
No related merge requests found
...@@ -315,7 +315,7 @@ class Nifti(notifier.Notifier): ...@@ -315,7 +315,7 @@ class Nifti(notifier.Notifier):
val = val.decode('ascii') val = val.decode('ascii')
return ''.join([c for c in val if c in string.printable]) return ''.join([c for c in val if c in string.printable]).strip()
@property @property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment