Permalink
Browse files

Check for statsample

  • Loading branch information...
1 parent e8e5e45 commit b6af0e7b3c676277b6c6e00efe6f750d7c6591b9 @pjotrp committed Oct 17, 2013
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/bio-table/statistics.rb
@@ -3,7 +3,12 @@ module BioTable
module Statistics
-require 'statsample'
+begin
+ require 'statsample'
+rescue LoadError
+ $stderr.print "Error: Missing statsample. Install with command 'gem install statsample'\n"
+ exit 1
+end
attr_reader :columns

0 comments on commit b6af0e7

Please sign in to comment.