Skip to content

Commit

Permalink
BUG: Fix docstring line 140 utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
acsenrafilho committed Nov 27, 2024
1 parent 1e73ade commit 345d5e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion asltk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ def save_asl_data(asldata, fullpath: str):
Examples:
>>> from asltk.asldata import ASLData
>>> asldata = ASLData(pcasl='./tests/files/pcasl_mte.nii.gz', m0='./tests/files/m0.nii.gz',ld_values=[1.8, 1.8, 1.8], pld_values=[1.8, 1.8, 1.8], te_values=[1.8, 1.8, 1.8])
>>> save_asl_data(asldata, '/tmp/saved_asl_data.pkl')
>>> import tempfile
>>> with tempfile.NamedTemporaryFile(delete=False, suffix='.pkl') as temp_file:
... temp_file_path = temp_file.name
>>> save_asl_data(asldata, temp_file_path)
Note:
Expand Down

0 comments on commit 345d5e3

Please sign in to comment.