summaryrefslogtreecommitdiff
path: root/features/lazar_single_prediction.feature
blob: 8bccd4a990c5f23fd674068fea4743f503a96bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@rest
Feature: Create a model and predict an unknown compound
	As a toxicologist
	I want to create a lazar model
	In order to predict the toxicity of a compound

	Scenario Outline:
		Given Content-Type is application/x-yaml
		And Accept-Type is application/x-yaml
		And I post <data> to the dataset webservice
		And the task is completed
		And I create a lazar model for <feature>
		When the task is completed
		Then I should receive a valid URI
		And the model should predict <prediction> for <smiles>

	Examples:
		|feature                                              |data                                   |smiles    |prediction|
		|http://www.epa.gov/NCCT/dsstox/CentralFieldDef.html#ActivityOutcome_CPDBAS_Hamster|file: hamster_carcinogenicity.yaml|c1ccccc1NN|true      |
	#|http://ambit.uni-plovdiv.bg:8080/ambit2/feature/12156|file: hamster_carcinogenicity_ambit.owl|c1ccccc1NN|true      |