You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-*targets*: list of target compounds in SMILES format
33
-
-*parameters* (optional): additional configuration for your batch
37
+
38
+
-_targets_: list of target compounds in SMILES format
39
+
-_parameters_ (optional): additional configuration for your batch
34
40
scoring request. See [Batch Scoring API](https://github.com/molecule-one/api/blob/master/api-v2.md) for more information.
35
-
-*detail_level* (optional): [detail level of the batch request](#batch-scoring-detail-level)
36
-
-*priority* (optional): [priority of the batch request](#batch-scoring-priorities)
37
-
-*invalid_target_strategy* (optional): if set to `InvalidTargetStrategy.PASS`, targets that cannot be canonized by our SMILES parser won't cause the whole batch request to be rejected. Defaults to `InvalidTargetStrategy.REJECT`.
38
-
-*starting_materials* (optional): list of available compounds in SMILES format
39
-
-*name* (optional): name of your batch request
41
+
-_detail_level_ (optional): [detail level of the batch request](#batch-scoring-detail-level)
42
+
-_priority_ (optional): [priority of the batch request](#batch-scoring-priorities)
43
+
-_invalid_target_strategy_ (optional): if set to `InvalidTargetStrategy.PASS`, targets that cannot be canonized by our SMILES parser won't cause the whole batch request to be rejected. Defaults to `InvalidTargetStrategy.REJECT`.
44
+
-_starting_materials_ (optional): list of available compounds in SMILES format
45
+
-_name_ (optional): name of your batch request
40
46
41
47
### Batch scoring detail level
48
+
42
49
Detail level determines how much information about each target synthesis you'll get. We define it as a `DetailLevel` enum with two variants:
50
+
43
51
-`DetailLevel.SCORE` (default) - useful when you're not interested in full synthesis json/UI preview, but only numerical values
44
52
-`DetailLevel.SYNTHESIS` - when you're also interested in reactions and compounds leading to the target product
53
+
45
54
#### Example:
55
+
46
56
```py
47
57
from m1wrapper import MoleculeOneWrapper, DetailLevel
-*targets_with_metadata*: list of target compounds with metadata. Each target compound should be a dictionary object of shape `{ smiles: str, name: str}` where the only required field is `smiles`.
91
+
-*targets_with_metadata*: list of target compounds with metadata. Each target compound should be a dictionary object of shape `{ 'smiles': str, 'name': str}` where the only required field is `smiles`.
79
92
-*parameters* (optional): additional configuration for your batch
80
93
scoring request. See [Batch Scoring API](https://github.com/molecule-one/api/blob/master/api-v2.md) for more information.
81
-
-*detail_level* (optional): [detail level of the batch request](#batch-scoring-detail-level)
82
-
-*priority* (optional): [priority of the batch request](#batch-scoring-priorities)
83
-
-*invalid_target_strategy* (optional): if set to `InvalidTargetStrategy.PASS`, targets that cannot be canonized by our SMILES parser won't cause the whole batch request to be rejected. Defaults to `InvalidTargetStrategy.REJECT`.
84
-
-*starting_materials* (optional): list of available compounds in SMILES format
85
-
-*name* (optional): name of your batch request
94
+
-_detail_level_ (optional): [detail level of the batch request](#batch-scoring-detail-level)
95
+
-_priority_ (optional): [priority of the batch request](#batch-scoring-priorities)
96
+
-_invalid_target_strategy_ (optional): if set to `InvalidTargetStrategy.PASS`, targets that cannot be canonized by our SMILES parser won't cause the whole batch request to be rejected. Defaults to `InvalidTargetStrategy.REJECT`.
97
+
-_starting_materials_ (optional): list of available compounds in SMILES format
0 commit comments