Skip to content

Commit 394260e

Browse files
committed
Consider path configuration for task extraction
1 parent 269a429 commit 394260e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/sequenceserver/blast/tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Tasks
66

77
def self.to_h
88
@to_h ||= ALGORITHMS.map do |algorithm|
9-
help_text = `#{algorithm} -help`
9+
help_text, = SequenceServer.sys("#{algorithm} -help", path: SequenceServer.config[:bin])
1010
[algorithm, extract_tasks(help_text)]
1111
end.to_h
1212
end

0 commit comments

Comments
 (0)