Skip to content

Commit 17c3bb6

Browse files
authored
Merge pull request #782 from wurmlab/tt/consider-paths
Consider path configuration when extracting tasks
2 parents 269a429 + 312cf1d commit 17c3bb6

2 files changed

Lines changed: 2 additions & 2 deletions

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

spec/features/search_and_results_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def nucleotide_query
258258
expect(File.basename(downloaded_file)).to eq('sequenceserver-xml_report.xml')
259259
clear_downloads
260260

261-
page.click_link('Full Pairwise report')
261+
page.click_link('Full Text report')
262262
wait_for_download
263263
expect(File.basename(downloaded_file)).to eq('sequenceserver-pairwise_report.txt')
264264
clear_downloads

0 commit comments

Comments
 (0)