Skip to content

Commit c812435

Browse files
authored
Update run_batch_search_with_metadata docs
1 parent 521c3da commit c812435

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ search = m1wrapper.run_batch_search(
7474
```
7575

7676
### Batch scoring request with compound metadata
77-
`run_search_with_metadata(targets_with_metadata, parameters, detail_level, priority, invalid_target_strategy, starting_materials, name)`
77+
`run_batch_search_with_metadata(targets_with_metadata, parameters, detail_level, priority, invalid_target_strategy, starting_materials, name)`
7878
- *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`.
7979
- *parameters* (optional): additional configuration for your batch
8080
scoring request. See [Batch Scoring API](https://github.com/molecule-one/api/blob/master/api-v2.md) for more information.
@@ -85,7 +85,10 @@ search = m1wrapper.run_batch_search(
8585
- *name* (optional): name of your batch request
8686

8787
```py
88-
run_search_with_metadata(targets_with_metadata=[{name: 'compound1', smiles: a}, {smiles: b}, {name: 'compound3', smiles: c}], priority=Priority.HIGH)
88+
run_batch_search_with_metadata(
89+
targets_with_metadata=[{'name': 'compound1', 'smiles': 'cc'}, {'smiles': 'O=C(Nc1cc(Nc2nc(-c3cnccc3)ccn2)c(cc1)C)c3ccc(cc3)CN3CCN(CC3)C'}, {'name': 'compound3', 'smiles': 'CC'}],
90+
priority=Priority.HIGH
91+
)
8992
```
9093

9194
### Getting exisiting scoring request by id:

0 commit comments

Comments
 (0)