Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/wrappers/OsipiBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,12 @@ def osipi_fit_full_volume(self, data, bvalues=None, **kwargs):

return results

except:
except Exception as e:
# Check if the problem is that full volume fitting is simply not supported in the standardized implementation
if not hasattr(self, "ivim_fit_full_volume"): #and callable(getattr(self, "ivim_fit_full_volume")):
print("Full volume fitting not supported for this algorithm")
else:
print(f"Full volume fitting failed: {type(e).__name__}: {e}")

return False

Expand Down