summaryrefslogtreecommitdiff
path: root/lib/feature.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2016-04-15 14:58:17 +0200
committerChristoph Helma <helma@in-silico.ch>2016-04-15 14:58:17 +0200
commit4662e845c12e3e623ec9bec208c42cd4b1886047 (patch)
tree8c51d1f2098441ba3d0fc2118d774eae59724ad1 /lib/feature.rb
parent8aab046eb1ad39aaf10c5a8596102c35c7b2ee0b (diff)
enm study import
Diffstat (limited to 'lib/feature.rb')
-rw-r--r--lib/feature.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/feature.rb b/lib/feature.rb
index f13a3fb..c6fb68a 100644
--- a/lib/feature.rb
+++ b/lib/feature.rb
@@ -6,7 +6,9 @@ module OpenTox
field :numeric, type: Boolean
field :measured, type: Boolean
field :calculated, type: Boolean
+ field :category, type: String
field :unit, type: String
+ field :conditions, type: Hash
end
# Feature for categorical variables
@@ -35,12 +37,4 @@ module OpenTox
end
end
- # Feature for categorical bioassay results
- class NominalBioAssay < NominalFeature
- end
-
- # Feature for quantitative bioassay results
- class NumericBioAssay < NumericFeature
- end
-
end