summaryrefslogtreecommitdiff
path: root/test/setup.rb
blob: 51871a2fce04f6f0e4850349190dc209ac7cf09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ENV["LAZAR_ENV"] = "development"
require 'minitest/autorun'
require_relative '../lib/lazar.rb'
#require 'lazar'
include OpenTox
$mongo.database.drop
$gridfs = $mongo.database.fs # recreate GridFS indexes
#PhysChem.descriptors
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
#Import::Enanomapper.import unless training_dataset