Skip to content

Commit

Permalink
Fix error due to SequenceServer#[] being undefined.
Browse files Browse the repository at this point in the history
Culprit - abaed27.

close #137

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
  • Loading branch information
yeban committed Feb 21, 2015
1 parent 434aaab commit 1f8c331
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/sequenceserver
Expand Up @@ -305,7 +305,7 @@ MSG
puts e

# Offer user to format the FASTA files.
database_dir = SequenceServer[:database_dir]
database_dir = SequenceServer.config[:database_dir]
puts
puts <<MSG
Search for FASTA files (.fa, .fasta, .fna) in '#{database_dir}' and try
Expand Down Expand Up @@ -344,8 +344,8 @@ MSG
if list_unformatted_fastas? || make_blast_databases?
unformatted_fastas = SequenceServer::Database.unformatted_fastas
if unformatted_fastas.empty?
puts "All FASTA files in #{SequenceServer[:database_dir]} are "\
'formatted.'
puts "All FASTA files in #{SequenceServer.config[:database_dir]} " \
'are formatted.'
exit
end
end
Expand Down

0 comments on commit 1f8c331

Please sign in to comment.