Closed schuenke closed 3 years ago
Please let me know if pulling from the latest dev
commit fixes this issue for you.
Unfortunately you forgot to add a return
in the else statement. It must be
if return_gz:
return rf, gz
else:
return rf
instead of
if return_gz:
return rf, gz
else:
rf
Oh darn, oops, will fix.
Issue is fixed now. Thanks @sravan953 !
Since https://github.com/imr-framework/pypulseq/commit/7542b39630c1c4cefc6eb5ded3ddb290a54e487c the _make_blockpulse.py throws the ValueError
ValueError: Invalid use parameter. Must be one of 'excitation', 'refocusing' or 'inversion'. Passed:
when use is not defined. The reason is that the default for use is an empty string now, but in line 64 you check for a None. This can be fixed by changing line 64 to:if use != '' and use not in valid_use_pulses: