Skip to content

Commit

Permalink
[bug patch] tonii does not generate dti parameter files (post patch)
Browse files Browse the repository at this point in the history
update documents
  • Loading branch information
dvm-shlee committed Jun 4, 2020
1 parent 4e590e1 commit 8838269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ please visit our [GitPage](https://brkraw.github.io).
- Drs. Mikael Naveau and Gabriel A. Devenyi: The publisher of
[bruker2nifti_qa](https://gitlab.com/naveau/bruker2nifti_qa), the set of data
to help benchmark testing of Bruker converter.
-

### License:
GNU General Public License v3.0
Expand Down
3 changes: 3 additions & 0 deletions brkraw/scripts/brkraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ def main():
output_fname = '{}-{}-{}'.format(output, str(scan_id).zfill(2), reco_id)
try:
study.save_as(scan_id, reco_id, output_fname, slope=slope, offset=offset)
method = study._pvobj._method[scan_id].parameters['Method']
if re.search('dti', method, re.IGNORECASE):
study.save_bdata(scan_id, output_fname)
if args.bids:
study.save_json(scan_id, reco_id, output_fname)
print('NifTi file is genetared... [{}]'.format(output_fname))
Expand Down

0 comments on commit 8838269

Please sign in to comment.