summaryrefslogtreecommitdiff
path: root/test/setup.rb
blob: 63b59fb879ff23cd5d26be0526157c18e32e134a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ENV["LAZAR_ENV"] = "development"
require 'minitest/autorun'
require_relative '../lib/lazar.rb'
#require 'lazar'
include OpenTox
TEST_DIR ||= File.expand_path(File.dirname(__FILE__))
DATA_DIR ||= File.join(TEST_DIR,"data")
training_dataset = Dataset.where(:name => "Protein Corona Fingerprinting Predicts the Cellular Interaction of Gold and Silver Nanoparticles").first
unless training_dataset
  Import::Enanomapper.import File.join(File.dirname(__FILE__),"data","enm")
end
#$mongo.database.drop
#$gridfs = $mongo.database.fs