|
@@ -1,3 +1,9 @@
|
|
|
|
+"""
|
|
|
|
+Read hippocampal subfield volumes computed by Freesurfer
|
|
|
|
+
|
|
|
|
+https://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfields
|
|
|
|
+"""
|
|
|
|
+
|
|
import argparse
|
|
import argparse
|
|
import os
|
|
import os
|
|
import re
|
|
import re
|
|
@@ -59,9 +65,7 @@ def read_hippocampal_volume_file_dataframe(volume_file_path: str) -> pandas.Data
|
|
|
|
|
|
|
|
|
|
def main():
|
|
def main():
|
|
- argparser = argparse.ArgumentParser(
|
|
+ argparser = argparse.ArgumentParser(description=__doc__)
|
|
- description='Read hippocampal subfield volumes computed by Freesurfer'
|
|
|
|
- '\nhttps://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfields')
|
|
|
|
argparser.add_argument('--filename-regex', dest='filename_pattern',
|
|
argparser.add_argument('--filename-regex', dest='filename_pattern',
|
|
default=DEFAULT_HIPPOCAMPAL_VOLUME_FIND_FILENAME_PATTERN,
|
|
default=DEFAULT_HIPPOCAMPAL_VOLUME_FIND_FILENAME_PATTERN,
|
|
help='default: %(default)s')
|
|
help='default: %(default)s')
|