We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc8308 commit ca37fecCopy full SHA for ca37fec
picasso/gui/render.py
@@ -3564,6 +3564,9 @@ def calculate_fret_dialog(self):
3564
3565
progress.close()
3566
3567
+ if fret_events == []:
3568
+ raise ValueError("No FRET events detected. Inspect picks with Show FRET Traces and make sure to have FRET events.")
3569
+
3570
fig1 = plt.figure()
3571
plt.hist(np.hstack(fret_events), bins=np.arange(0, 1, 0.02))
3572
plt.title(r"Distribution of $\frac{I_A}{I_D+I_A}$")
0 commit comments