Skip to content

Commit

Permalink
Merge pull request #782 from wurmlab/tt/consider-paths
Browse files Browse the repository at this point in the history
Consider path configuration when extracting tasks
  • Loading branch information
tadast authored Aug 13, 2024
2 parents 269a429 + 312cf1d commit 17c3bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sequenceserver/blast/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Tasks

def self.to_h
@to_h ||= ALGORITHMS.map do |algorithm|
help_text = `#{algorithm} -help`
help_text, = SequenceServer.sys("#{algorithm} -help", path: SequenceServer.config[:bin])
[algorithm, extract_tasks(help_text)]
end.to_h
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/search_and_results_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def nucleotide_query
expect(File.basename(downloaded_file)).to eq('sequenceserver-xml_report.xml')
clear_downloads

page.click_link('Full Pairwise report')
page.click_link('Full Text report')
wait_for_download
expect(File.basename(downloaded_file)).to eq('sequenceserver-pairwise_report.txt')
clear_downloads
Expand Down

0 comments on commit 17c3bb6

Please sign in to comment.