Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
fsantini committed Feb 6, 2021
1 parent 440e0af commit 906ca4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion epgFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
if refProfilePath:
refProfile = np.loadtxt(refProfilePath)

assert excProfile.shape == refProfile.shape and excProfile.ndim == 1, "Slice profiles must be one-dimensional vectors and contain the same number of samples"
if excProfile is not None:
assert excProfile.shape == refProfile.shape and excProfile.ndim == 1, "Slice profiles must be one-dimensional vectors and contain the same number of samples"


###########################################################
Expand Down

0 comments on commit 906ca4a

Please sign in to comment.