Explorar el Código

readme: added example fetching subject's name

Fabian Peter Hammerle hace 5 años
padre
commit
dc042ce9b6
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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']