Skip to content

Commit 732b4fe

Browse files
default EXE_GSAPATH is '' so that it works in conda
1 parent 818bea8 commit 732b4fe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: pangenes/_collinear_genes.pl

+2-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# -p 80 -s 1000 -> 1793
5353
# -p 80 -s 2000 -> 1528
5454

55-
my $GSALIGNPATH = './';
55+
my $GSALIGNPATH = '';
5656
my $GSAINDXEXE = 'bwt_index';
5757
my $GSALIGNEXE = 'GSAlign';
5858
my $GSALIGNPARS = '-sen -no_vcf -fmt 1';
@@ -261,9 +261,7 @@ sub help_message {
261261
if($gsalign_path ne '') {
262262
$GSAINDXEXE = "$gsalign_path/$GSAINDXEXE";
263263
$GSALIGNEXE = "$gsalign_path/$GSALIGNEXE";
264-
}
265-
266-
print "\n# gsalign binaries: $GSAINDXEXE , $GSALIGNEXE\n\n";
264+
} #print "\n# gsalign binaries: $GSAINDXEXE , $GSALIGNEXE\n\n";
267265

268266
if(`$GSALIGNEXE 2>&1` !~ 'Usage') {
269267
print "# ERROR: cannot find binary file $GSALIGNEXE , exit\n";

0 commit comments

Comments
 (0)