summaryrefslogtreecommitdiff
path: root/academic/perlprimer/02_fix-defined-slist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'academic/perlprimer/02_fix-defined-slist.patch')
-rw-r--r--academic/perlprimer/02_fix-defined-slist.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/academic/perlprimer/02_fix-defined-slist.patch b/academic/perlprimer/02_fix-defined-slist.patch
new file mode 100644
index 0000000000..38b375c844
--- /dev/null
+++ b/academic/perlprimer/02_fix-defined-slist.patch
@@ -0,0 +1,11 @@
+--- orig/perlprimer.pl 2016-11-22 21:06:25.135978000 +0200
++++ new/perlprimer.pl 2016-11-22 21:08:09.001971413 +0200
+@@ -5226,7 +5226,7 @@ sub generate_report {
+ }
+
+ my ($hlist_sel) = $$hlist_ref->selectionGet;
+- unless (defined(@$slist) && defined($hlist_sel)) {
++ unless (@$slist && defined($hlist_sel)) {
+ dialogue("The Generate Report function saves the statistics and alignment of a particular primer pair - please select a primer pair first");
+ return;
+ }