Commit 5307c85f authored by Paul McCarthy's avatar Paul McCarthy
Browse files

That new strval method removes leading/trailing whitespace

parent a5b4b5b4
......@@ -315,7 +315,7 @@ class Nifti(notifier.Notifier):
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()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment