docs/DefaultApi.md in cheminee-0.1.18 vs docs/DefaultApi.md in cheminee-0.1.19
- old
+ new
@@ -531,11 +531,11 @@
- **Accept**: application/json; charset=utf-8
## v1_standardize_post
-> <Array<StandardizedSmiles>> v1_standardize_post(smiles)
+> <Array<StandardizedSmiles>> v1_standardize_post(smiles, opts)
Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
### Examples
@@ -543,30 +543,33 @@
require 'time'
require 'cheminee'
api_instance = Cheminee::DefaultApi.new
smiles = [Cheminee::Smiles.new({smiles: 'smiles_example'})] # Array<Smiles> |
+opts = {
+ attempt_fix: 'attempt_fix_example' # String |
+}
begin
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
- result = api_instance.v1_standardize_post(smiles)
+ result = api_instance.v1_standardize_post(smiles, opts)
p result
rescue Cheminee::ApiError => e
puts "Error when calling DefaultApi->v1_standardize_post: #{e}"
end
```
#### Using the v1_standardize_post_with_http_info variant
This returns an Array which contains the response data, status code and headers.
-> <Array(<Array<StandardizedSmiles>>, Integer, Hash)> v1_standardize_post_with_http_info(smiles)
+> <Array(<Array<StandardizedSmiles>>, Integer, Hash)> v1_standardize_post_with_http_info(smiles, opts)
```ruby
begin
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
- data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smiles)
+ data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smiles, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <Array<StandardizedSmiles>>
rescue Cheminee::ApiError => e
puts "Error when calling DefaultApi->v1_standardize_post_with_http_info: #{e}"
@@ -576,9 +579,10 @@
### Parameters
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **smiles** | [**Array<Smiles>**](Smiles.md) | | |
+| **attempt_fix** | **String** | | [optional] |
### Return type
[**Array<StandardizedSmiles>**](StandardizedSmiles.md)