summaryrefslogtreecommitdiff
path: root/test/setup.rb
blob: c4c04cb08ab1891f42297f4641bcd1f338db4346 (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