blob: 0fa1cf04d7bdf197f7e18cb8dbdb3a95c8471319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# CH: should go into validation service
# - not a complete OT object
# - only used twice
# - what about ./validation/validation/validation_service.rb:241: value = OpenTox::Feature.new(:uri => a.uri).value(prediction_feature).to_s
module OpenTox
module Feature
def self.domain( feature_uri )
#TODO
if feature_uri =~ /ambit/
return nil
else
return ["true", "false"]
end
end
end
end
|