cheminee 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -4
- data/cheminee.gemspec +1 -1
- data/docs/DefaultApi.md +8 -4
- data/lib/cheminee/api/default_api.rb +4 -1
- data/lib/cheminee/api_client.rb +1 -1
- data/lib/cheminee/api_error.rb +1 -1
- data/lib/cheminee/configuration.rb +1 -1
- data/lib/cheminee/models/bulk_request.rb +1 -1
- data/lib/cheminee/models/bulk_request_doc.rb +1 -1
- data/lib/cheminee/models/converted_smiles.rb +1 -1
- data/lib/cheminee/models/create_index_error.rb +1 -1
- data/lib/cheminee/models/get_indexes_response_error.rb +1 -1
- data/lib/cheminee/models/index_meta.rb +1 -1
- data/lib/cheminee/models/index_schema.rb +1 -1
- data/lib/cheminee/models/list_index_response_err.rb +1 -1
- data/lib/cheminee/models/mol_block.rb +1 -1
- data/lib/cheminee/models/post_index_bulk_response_error.rb +1 -1
- data/lib/cheminee/models/post_index_bulk_response_ok.rb +1 -1
- data/lib/cheminee/models/post_index_bulk_response_ok_status.rb +1 -1
- data/lib/cheminee/models/query_response_error.rb +1 -1
- data/lib/cheminee/models/query_search_hit.rb +1 -1
- data/lib/cheminee/models/schema.rb +1 -1
- data/lib/cheminee/models/smiles.rb +1 -1
- data/lib/cheminee/models/standardized_smiles.rb +1 -1
- data/lib/cheminee/models/structure_response_error.rb +1 -1
- data/lib/cheminee/models/structure_search_hit.rb +1 -1
- data/lib/cheminee/version.rb +2 -2
- data/lib/cheminee.rb +1 -1
- data/pkg/cheminee-0.1.19.gem +0 -0
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
- data/pkg/cheminee-0.1.18.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '03901b715ab5103a443c33767b98429702b631666ddfe24c4dec639dc91ceec9'
|
4
|
+
data.tar.gz: 0bf6ff8c2987e5b0e2dc6edbf24e97bcda1345a9823d2e0bc261bd30c9d7de16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f9531647629e9c50e16f0086c659c28eb05bc1bcf18da5f470af6ad516bd94f46166f2409a772666c7acd0f824145c0e88bee791a101111270cf6f0198476b0
|
7
|
+
data.tar.gz: 02d07cf62d08e1f0c9a871a43b3170224b8d16c4edeb4231f3f217963cb80c253761d291426b8444dc58c540030567bbce18bdd7e851ad7b6afd1e725895280b
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,8 @@ Cheminée: The Chemical Structure Search Engine
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 0.1.
|
10
|
+
- Package version: 0.1.19
|
11
|
+
- Generator version: 7.5.0-SNAPSHOT
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
13
|
For more information, please visit [https://github.com/rdkit-rs/cheminee](https://github.com/rdkit-rs/cheminee)
|
13
14
|
|
@@ -24,16 +25,16 @@ gem build cheminee.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./cheminee-0.1.
|
28
|
+
gem install ./cheminee-0.1.19.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./cheminee-0.1.
|
31
|
+
(for development, run `gem install --dev ./cheminee-0.1.19.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'cheminee', '~> 0.1.
|
37
|
+
gem 'cheminee', '~> 0.1.19'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
data/cheminee.gemspec
CHANGED
data/docs/DefaultApi.md
CHANGED
@@ -533,7 +533,7 @@ No authorization required
|
|
533
533
|
|
534
534
|
## v1_standardize_post
|
535
535
|
|
536
|
-
> <Array<StandardizedSmiles>> v1_standardize_post(smiles)
|
536
|
+
> <Array<StandardizedSmiles>> v1_standardize_post(smiles, opts)
|
537
537
|
|
538
538
|
Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
539
539
|
|
@@ -545,10 +545,13 @@ require 'cheminee'
|
|
545
545
|
|
546
546
|
api_instance = Cheminee::DefaultApi.new
|
547
547
|
smiles = [Cheminee::Smiles.new({smiles: 'smiles_example'})] # Array<Smiles> |
|
548
|
+
opts = {
|
549
|
+
attempt_fix: 'attempt_fix_example' # String |
|
550
|
+
}
|
548
551
|
|
549
552
|
begin
|
550
553
|
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
551
|
-
result = api_instance.v1_standardize_post(smiles)
|
554
|
+
result = api_instance.v1_standardize_post(smiles, opts)
|
552
555
|
p result
|
553
556
|
rescue Cheminee::ApiError => e
|
554
557
|
puts "Error when calling DefaultApi->v1_standardize_post: #{e}"
|
@@ -559,12 +562,12 @@ end
|
|
559
562
|
|
560
563
|
This returns an Array which contains the response data, status code and headers.
|
561
564
|
|
562
|
-
> <Array(<Array<StandardizedSmiles>>, Integer, Hash)> v1_standardize_post_with_http_info(smiles)
|
565
|
+
> <Array(<Array<StandardizedSmiles>>, Integer, Hash)> v1_standardize_post_with_http_info(smiles, opts)
|
563
566
|
|
564
567
|
```ruby
|
565
568
|
begin
|
566
569
|
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
567
|
-
data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smiles)
|
570
|
+
data, status_code, headers = api_instance.v1_standardize_post_with_http_info(smiles, opts)
|
568
571
|
p status_code # => 2xx
|
569
572
|
p headers # => { ... }
|
570
573
|
p data # => <Array<StandardizedSmiles>>
|
@@ -578,6 +581,7 @@ end
|
|
578
581
|
| Name | Type | Description | Notes |
|
579
582
|
| ---- | ---- | ----------- | ----- |
|
580
583
|
| **smiles** | [**Array<Smiles>**](Smiles.md) | | |
|
584
|
+
| **attempt_fix** | **String** | | [optional] |
|
581
585
|
|
582
586
|
### Return type
|
583
587
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -557,6 +557,7 @@ module Cheminee
|
|
557
557
|
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
558
558
|
# @param smiles [Array<Smiles>]
|
559
559
|
# @param [Hash] opts the optional parameters
|
560
|
+
# @option opts [String] :attempt_fix
|
560
561
|
# @return [Array<StandardizedSmiles>]
|
561
562
|
def v1_standardize_post(smiles, opts = {})
|
562
563
|
data, _status_code, _headers = v1_standardize_post_with_http_info(smiles, opts)
|
@@ -566,6 +567,7 @@ module Cheminee
|
|
566
567
|
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
567
568
|
# @param smiles [Array<Smiles>]
|
568
569
|
# @param [Hash] opts the optional parameters
|
570
|
+
# @option opts [String] :attempt_fix
|
569
571
|
# @return [Array<(Array<StandardizedSmiles>, Integer, Hash)>] Array<StandardizedSmiles> data, response status code and response headers
|
570
572
|
def v1_standardize_post_with_http_info(smiles, opts = {})
|
571
573
|
if @api_client.config.debugging
|
@@ -580,6 +582,7 @@ module Cheminee
|
|
580
582
|
|
581
583
|
# query parameters
|
582
584
|
query_params = opts[:query_params] || {}
|
585
|
+
query_params[:'attempt_fix'] = opts[:'attempt_fix'] if !opts[:'attempt_fix'].nil?
|
583
586
|
|
584
587
|
# header parameters
|
585
588
|
header_params = opts[:header_params] || {}
|
data/lib/cheminee/api_client.rb
CHANGED
data/lib/cheminee/api_error.rb
CHANGED
data/lib/cheminee/version.rb
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.5.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Cheminee
|
14
|
-
VERSION = '0.1.
|
14
|
+
VERSION = '0.1.19'
|
15
15
|
end
|
data/lib/cheminee.rb
CHANGED
Binary file
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cheminee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xavier Lange
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -116,7 +116,7 @@ files:
|
|
116
116
|
- lib/cheminee/version.rb
|
117
117
|
- openapi-generator-config.json
|
118
118
|
- openapi.json
|
119
|
-
- pkg/cheminee-0.1.
|
119
|
+
- pkg/cheminee-0.1.19.gem
|
120
120
|
- spec/api/default_api_spec.rb
|
121
121
|
- spec/api_client_spec.rb
|
122
122
|
- spec/configuration_spec.rb
|
data/pkg/cheminee-0.1.18.gem
DELETED
Binary file
|