Browse Source

readme: added example fetching subject's name

Fabian Peter Hammerle 4 years ago
parent
commit
dc042ce9b6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      README.rst

+ 2 - 0
README.rst

@@ -30,6 +30,8 @@ Usage
 
     >>> from freesurfer_stats import CorticalParcellationStats
     >>> stats = CorticalParcellationStats.read('tests/subjects/fabian/stats/lh.aparc.DKTatlas.stats')
+    >>> stats.headers['subjectname']
+    'fabian'
     >>> stats.headers['CreationTime'].isoformat()
     '2019-05-09T21:05:54+00:00'
     >>> stats.headers['cvs_version']