Commit 25234dd
Wrap motifbreakR::plotMB in tryCatch (fixes #15)
plotMB can crash with a grid viewport error (upstream
Simon-Coetzee/motifBreakR#31). Now catches the error, warns the
user with the upstream issue link, and returns NULL for that SNP
instead of crashing the entire plot loop. [skip ci]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b00ff99 commit 25234dd
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
95 | 104 | | |
96 | | - | |
| 105 | + | |
97 | 106 | | |
98 | 107 | | |
99 | 108 | | |
| |||
0 commit comments