cheminee 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +12 -7
- data/cheminee.gemspec +1 -1
- data/docs/ConvertedSmiles.md +20 -0
- data/docs/DefaultApi.md +65 -0
- data/docs/MolBlock.md +18 -0
- data/lib/cheminee/api/default_api.rb +74 -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 +223 -0
- 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 +221 -0
- 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 +3 -1
- data/pkg/cheminee-0.1.18.gem +0 -0
- data/spec/models/converted_smiles_spec.rb +42 -0
- data/spec/models/mol_block_spec.rb +36 -0
- data/spec/spec_helper.rb +1 -1
- metadata +11 -3
- data/pkg/cheminee-0.1.17.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: b653a547d2981f8abeef702e13bdcfc217fd2cd5794a1f607cc985a0aa73ccf2
|
4
|
+
data.tar.gz: eb06c0b9508ff92bfeeb892a9b911b77cb2c74fa97a3d9d9a4385883b3794db4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3872ec204fa7f82558d197b2f108c260535f4702d2d7d4f1b1d52a9d98026b02032ae0c1c40cf065f10108f08167fe88f2ad80ec79d80518712bc6d39d76f4ec
|
7
|
+
data.tar.gz: e8bc6da61cffe124f7bcf3108a38b011e736f6ae5f541f072dea4edfd69fec4e7018a596a4718d105df3ac4e668e2fea0df9b9cdc47cdf7a683f98034962a750
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cheminee (0.1.
|
4
|
+
cheminee (0.1.18)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -43,7 +43,7 @@ GEM
|
|
43
43
|
rspec-mocks (3.13.0)
|
44
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
45
45
|
rspec-support (~> 3.13.0)
|
46
|
-
rspec-support (3.13.
|
46
|
+
rspec-support (3.13.1)
|
47
47
|
rubocop (0.66.0)
|
48
48
|
jaro_winkler (~> 1.5.1)
|
49
49
|
parallel (~> 1.10)
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ 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.18
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://github.com/rdkit-rs/cheminee](https://github.com/rdkit-rs/cheminee)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build cheminee.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./cheminee-0.1.
|
27
|
+
gem install ./cheminee-0.1.18.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./cheminee-0.1.
|
30
|
+
(for development, run `gem install --dev ./cheminee-0.1.18.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'cheminee', '~> 0.1.
|
36
|
+
gem 'cheminee', '~> 0.1.18'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -58,13 +58,15 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
58
58
|
require 'cheminee'
|
59
59
|
|
60
60
|
api_instance = Cheminee::DefaultApi.new
|
61
|
+
sanitize = 'sanitize_example' # String |
|
62
|
+
mol_block = [Cheminee::MolBlock.new({mol_block: 'mol_block_example'})] # Array<MolBlock> |
|
61
63
|
|
62
64
|
begin
|
63
|
-
#
|
64
|
-
result = api_instance.
|
65
|
+
#Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
66
|
+
result = api_instance.v1_convert_mol_block_to_smiles_post(sanitize, mol_block)
|
65
67
|
p result
|
66
68
|
rescue Cheminee::ApiError => e
|
67
|
-
puts "Exception when calling DefaultApi->
|
69
|
+
puts "Exception when calling DefaultApi->v1_convert_mol_block_to_smiles_post: #{e}"
|
68
70
|
end
|
69
71
|
|
70
72
|
```
|
@@ -75,6 +77,7 @@ All URIs are relative to *http://localhost:4001/api*
|
|
75
77
|
|
76
78
|
Class | Method | HTTP request | Description
|
77
79
|
------------ | ------------- | ------------- | -------------
|
80
|
+
*Cheminee::DefaultApi* | [**v1_convert_mol_block_to_smiles_post**](docs/DefaultApi.md#v1_convert_mol_block_to_smiles_post) | **POST** /v1/convert/mol_block_to_smiles | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
78
81
|
*Cheminee::DefaultApi* | [**v1_indexes_get**](docs/DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes | List indexes
|
79
82
|
*Cheminee::DefaultApi* | [**v1_indexes_index_bulk_index_post**](docs/DefaultApi.md#v1_indexes_index_bulk_index_post) | **POST** /v1/indexes/{index}/bulk_index | Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable
|
80
83
|
*Cheminee::DefaultApi* | [**v1_indexes_index_get**](docs/DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index
|
@@ -89,11 +92,13 @@ Class | Method | HTTP request | Description
|
|
89
92
|
|
90
93
|
- [Cheminee::BulkRequest](docs/BulkRequest.md)
|
91
94
|
- [Cheminee::BulkRequestDoc](docs/BulkRequestDoc.md)
|
95
|
+
- [Cheminee::ConvertedSmiles](docs/ConvertedSmiles.md)
|
92
96
|
- [Cheminee::CreateIndexError](docs/CreateIndexError.md)
|
93
97
|
- [Cheminee::GetIndexesResponseError](docs/GetIndexesResponseError.md)
|
94
98
|
- [Cheminee::IndexMeta](docs/IndexMeta.md)
|
95
99
|
- [Cheminee::IndexSchema](docs/IndexSchema.md)
|
96
100
|
- [Cheminee::ListIndexResponseErr](docs/ListIndexResponseErr.md)
|
101
|
+
- [Cheminee::MolBlock](docs/MolBlock.md)
|
97
102
|
- [Cheminee::PostIndexBulkResponseError](docs/PostIndexBulkResponseError.md)
|
98
103
|
- [Cheminee::PostIndexBulkResponseOk](docs/PostIndexBulkResponseOk.md)
|
99
104
|
- [Cheminee::PostIndexBulkResponseOkStatus](docs/PostIndexBulkResponseOkStatus.md)
|
data/cheminee.gemspec
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Cheminee::ConvertedSmiles
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **smiles** | **String** | | [optional] |
|
8
|
+
| **error** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'cheminee'
|
14
|
+
|
15
|
+
instance = Cheminee::ConvertedSmiles.new(
|
16
|
+
smiles: null,
|
17
|
+
error: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/DefaultApi.md
CHANGED
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost:4001/api*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
+
| [**v1_convert_mol_block_to_smiles_post**](DefaultApi.md#v1_convert_mol_block_to_smiles_post) | **POST** /v1/convert/mol_block_to_smiles | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines |
|
7
8
|
| [**v1_indexes_get**](DefaultApi.md#v1_indexes_get) | **GET** /v1/indexes | List indexes |
|
8
9
|
| [**v1_indexes_index_bulk_index_post**](DefaultApi.md#v1_indexes_index_bulk_index_post) | **POST** /v1/indexes/{index}/bulk_index | Index a list of SMILES and associated, free-form JSON attributes which are indexed and searchable |
|
9
10
|
| [**v1_indexes_index_get**](DefaultApi.md#v1_indexes_index_get) | **GET** /v1/indexes/{index} | Get extended information about an index |
|
@@ -14,6 +15,70 @@ All URIs are relative to *http://localhost:4001/api*
|
|
14
15
|
| [**v1_standardize_post**](DefaultApi.md#v1_standardize_post) | **POST** /v1/standardize | Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines |
|
15
16
|
|
16
17
|
|
18
|
+
## v1_convert_mol_block_to_smiles_post
|
19
|
+
|
20
|
+
> <Array<ConvertedSmiles>> v1_convert_mol_block_to_smiles_post(sanitize, mol_block)
|
21
|
+
|
22
|
+
Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
23
|
+
|
24
|
+
### Examples
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'time'
|
28
|
+
require 'cheminee'
|
29
|
+
|
30
|
+
api_instance = Cheminee::DefaultApi.new
|
31
|
+
sanitize = 'sanitize_example' # String |
|
32
|
+
mol_block = [Cheminee::MolBlock.new({mol_block: 'mol_block_example'})] # Array<MolBlock> |
|
33
|
+
|
34
|
+
begin
|
35
|
+
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
36
|
+
result = api_instance.v1_convert_mol_block_to_smiles_post(sanitize, mol_block)
|
37
|
+
p result
|
38
|
+
rescue Cheminee::ApiError => e
|
39
|
+
puts "Error when calling DefaultApi->v1_convert_mol_block_to_smiles_post: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Using the v1_convert_mol_block_to_smiles_post_with_http_info variant
|
44
|
+
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
46
|
+
|
47
|
+
> <Array(<Array<ConvertedSmiles>>, Integer, Hash)> v1_convert_mol_block_to_smiles_post_with_http_info(sanitize, mol_block)
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
begin
|
51
|
+
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
52
|
+
data, status_code, headers = api_instance.v1_convert_mol_block_to_smiles_post_with_http_info(sanitize, mol_block)
|
53
|
+
p status_code # => 2xx
|
54
|
+
p headers # => { ... }
|
55
|
+
p data # => <Array<ConvertedSmiles>>
|
56
|
+
rescue Cheminee::ApiError => e
|
57
|
+
puts "Error when calling DefaultApi->v1_convert_mol_block_to_smiles_post_with_http_info: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
| Name | Type | Description | Notes |
|
64
|
+
| ---- | ---- | ----------- | ----- |
|
65
|
+
| **sanitize** | **String** | | |
|
66
|
+
| **mol_block** | [**Array<MolBlock>**](MolBlock.md) | | |
|
67
|
+
|
68
|
+
### Return type
|
69
|
+
|
70
|
+
[**Array<ConvertedSmiles>**](ConvertedSmiles.md)
|
71
|
+
|
72
|
+
### Authorization
|
73
|
+
|
74
|
+
No authorization required
|
75
|
+
|
76
|
+
### HTTP request headers
|
77
|
+
|
78
|
+
- **Content-Type**: application/json; charset=utf-8
|
79
|
+
- **Accept**: application/json; charset=utf-8
|
80
|
+
|
81
|
+
|
17
82
|
## v1_indexes_get
|
18
83
|
|
19
84
|
> <Array<IndexMeta>> v1_indexes_get
|
data/docs/MolBlock.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Cheminee::MolBlock
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **mol_block** | **String** | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'cheminee'
|
13
|
+
|
14
|
+
instance = Cheminee::MolBlock.new(
|
15
|
+
mol_block: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -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
|
-
OpenAPI Generator version: 7.
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,6 +19,79 @@ module Cheminee
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
23
|
+
# @param sanitize [String]
|
24
|
+
# @param mol_block [Array<MolBlock>]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [Array<ConvertedSmiles>]
|
27
|
+
def v1_convert_mol_block_to_smiles_post(sanitize, mol_block, opts = {})
|
28
|
+
data, _status_code, _headers = v1_convert_mol_block_to_smiles_post_with_http_info(sanitize, mol_block, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Pass a list of SMILES through fragment_parent, uncharger, and canonicalization routines
|
33
|
+
# @param sanitize [String]
|
34
|
+
# @param mol_block [Array<MolBlock>]
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(Array<ConvertedSmiles>, Integer, Hash)>] Array<ConvertedSmiles> data, response status code and response headers
|
37
|
+
def v1_convert_mol_block_to_smiles_post_with_http_info(sanitize, mol_block, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.v1_convert_mol_block_to_smiles_post ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'sanitize' is set
|
42
|
+
if @api_client.config.client_side_validation && sanitize.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'sanitize' when calling DefaultApi.v1_convert_mol_block_to_smiles_post"
|
44
|
+
end
|
45
|
+
# verify the required parameter 'mol_block' is set
|
46
|
+
if @api_client.config.client_side_validation && mol_block.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'mol_block' when calling DefaultApi.v1_convert_mol_block_to_smiles_post"
|
48
|
+
end
|
49
|
+
# resource path
|
50
|
+
local_var_path = '/v1/convert/mol_block_to_smiles'
|
51
|
+
|
52
|
+
# query parameters
|
53
|
+
query_params = opts[:query_params] || {}
|
54
|
+
query_params[:'sanitize'] = sanitize
|
55
|
+
|
56
|
+
# header parameters
|
57
|
+
header_params = opts[:header_params] || {}
|
58
|
+
# HTTP header 'Accept' (if needed)
|
59
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json; charset=utf-8'])
|
60
|
+
# HTTP header 'Content-Type'
|
61
|
+
content_type = @api_client.select_header_content_type(['application/json; charset=utf-8'])
|
62
|
+
if !content_type.nil?
|
63
|
+
header_params['Content-Type'] = content_type
|
64
|
+
end
|
65
|
+
|
66
|
+
# form parameters
|
67
|
+
form_params = opts[:form_params] || {}
|
68
|
+
|
69
|
+
# http body (model)
|
70
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(mol_block)
|
71
|
+
|
72
|
+
# return_type
|
73
|
+
return_type = opts[:debug_return_type] || 'Array<ConvertedSmiles>'
|
74
|
+
|
75
|
+
# auth_names
|
76
|
+
auth_names = opts[:debug_auth_names] || []
|
77
|
+
|
78
|
+
new_options = opts.merge(
|
79
|
+
:operation => :"DefaultApi.v1_convert_mol_block_to_smiles_post",
|
80
|
+
:header_params => header_params,
|
81
|
+
:query_params => query_params,
|
82
|
+
:form_params => form_params,
|
83
|
+
:body => post_body,
|
84
|
+
:auth_names => auth_names,
|
85
|
+
:return_type => return_type
|
86
|
+
)
|
87
|
+
|
88
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
89
|
+
if @api_client.config.debugging
|
90
|
+
@api_client.config.logger.debug "API called: DefaultApi#v1_convert_mol_block_to_smiles_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
91
|
+
end
|
92
|
+
return data, status_code, headers
|
93
|
+
end
|
94
|
+
|
22
95
|
# List indexes
|
23
96
|
# @param [Hash] opts the optional parameters
|
24
97
|
# @return [Array<IndexMeta>]
|
data/lib/cheminee/api_client.rb
CHANGED
data/lib/cheminee/api_error.rb
CHANGED
@@ -0,0 +1,223 @@
|
|
1
|
+
=begin
|
2
|
+
#Cheminée
|
3
|
+
|
4
|
+
#Cheminée: The Chemical Structure Search Engine
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Cheminee
|
17
|
+
class ConvertedSmiles
|
18
|
+
attr_accessor :smiles
|
19
|
+
|
20
|
+
attr_accessor :error
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'smiles' => :'smiles',
|
26
|
+
:'error' => :'error'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns all the JSON keys this model knows about
|
31
|
+
def self.acceptable_attributes
|
32
|
+
attribute_map.values
|
33
|
+
end
|
34
|
+
|
35
|
+
# Attribute type mapping.
|
36
|
+
def self.openapi_types
|
37
|
+
{
|
38
|
+
:'smiles' => :'String',
|
39
|
+
:'error' => :'String'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# List of attributes with nullable: true
|
44
|
+
def self.openapi_nullable
|
45
|
+
Set.new([
|
46
|
+
])
|
47
|
+
end
|
48
|
+
|
49
|
+
# Initializes the object
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
51
|
+
def initialize(attributes = {})
|
52
|
+
if (!attributes.is_a?(Hash))
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Cheminee::ConvertedSmiles` initialize method"
|
54
|
+
end
|
55
|
+
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Cheminee::ConvertedSmiles`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
|
+
end
|
61
|
+
h[k.to_sym] = v
|
62
|
+
}
|
63
|
+
|
64
|
+
if attributes.key?(:'smiles')
|
65
|
+
self.smiles = attributes[:'smiles']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.key?(:'error')
|
69
|
+
self.error = attributes[:'error']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
77
|
+
invalid_properties = Array.new
|
78
|
+
invalid_properties
|
79
|
+
end
|
80
|
+
|
81
|
+
# Check to see if the all the properties in the model are valid
|
82
|
+
# @return true if the model is valid
|
83
|
+
def valid?
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
smiles == o.smiles &&
|
94
|
+
error == o.error
|
95
|
+
end
|
96
|
+
|
97
|
+
# @see the `==` method
|
98
|
+
# @param [Object] Object to be compared
|
99
|
+
def eql?(o)
|
100
|
+
self == o
|
101
|
+
end
|
102
|
+
|
103
|
+
# Calculates hash code according to all attributes.
|
104
|
+
# @return [Integer] Hash code
|
105
|
+
def hash
|
106
|
+
[smiles, error].hash
|
107
|
+
end
|
108
|
+
|
109
|
+
# Builds the object from hash
|
110
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
111
|
+
# @return [Object] Returns the model itself
|
112
|
+
def self.build_from_hash(attributes)
|
113
|
+
return nil unless attributes.is_a?(Hash)
|
114
|
+
attributes = attributes.transform_keys(&:to_sym)
|
115
|
+
transformed_hash = {}
|
116
|
+
openapi_types.each_pair do |key, type|
|
117
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
118
|
+
transformed_hash["#{key}"] = nil
|
119
|
+
elsif type =~ /\AArray<(.*)>/i
|
120
|
+
# check to ensure the input is an array given that the attribute
|
121
|
+
# is documented as an array but the input is not
|
122
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
123
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
124
|
+
end
|
125
|
+
elsif !attributes[attribute_map[key]].nil?
|
126
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
127
|
+
end
|
128
|
+
end
|
129
|
+
new(transformed_hash)
|
130
|
+
end
|
131
|
+
|
132
|
+
# Deserializes the data based on type
|
133
|
+
# @param string type Data type
|
134
|
+
# @param string value Value to be deserialized
|
135
|
+
# @return [Object] Deserialized data
|
136
|
+
def self._deserialize(type, value)
|
137
|
+
case type.to_sym
|
138
|
+
when :Time
|
139
|
+
Time.parse(value)
|
140
|
+
when :Date
|
141
|
+
Date.parse(value)
|
142
|
+
when :String
|
143
|
+
value.to_s
|
144
|
+
when :Integer
|
145
|
+
value.to_i
|
146
|
+
when :Float
|
147
|
+
value.to_f
|
148
|
+
when :Boolean
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
150
|
+
true
|
151
|
+
else
|
152
|
+
false
|
153
|
+
end
|
154
|
+
when :Object
|
155
|
+
# generic object (usually a Hash), return directly
|
156
|
+
value
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
163
|
+
{}.tap do |hash|
|
164
|
+
value.each do |k, v|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
else # model
|
169
|
+
# models (e.g. Pet) or oneOf
|
170
|
+
klass = Cheminee.const_get(type)
|
171
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the string representation of the object
|
176
|
+
# @return [String] String presentation of the object
|
177
|
+
def to_s
|
178
|
+
to_hash.to_s
|
179
|
+
end
|
180
|
+
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_body
|
184
|
+
to_hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Returns the object in the form of hash
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_hash
|
190
|
+
hash = {}
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
192
|
+
value = self.send(attr)
|
193
|
+
if value.nil?
|
194
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
195
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
196
|
+
end
|
197
|
+
|
198
|
+
hash[param] = _to_hash(value)
|
199
|
+
end
|
200
|
+
hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# Outputs non-array value in the form of hash
|
204
|
+
# For object, use to_hash. Otherwise, just return the value
|
205
|
+
# @param [Object] value Any valid value
|
206
|
+
# @return [Hash] Returns the value in the form of hash
|
207
|
+
def _to_hash(value)
|
208
|
+
if value.is_a?(Array)
|
209
|
+
value.compact.map { |v| _to_hash(v) }
|
210
|
+
elsif value.is_a?(Hash)
|
211
|
+
{}.tap do |hash|
|
212
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
213
|
+
end
|
214
|
+
elsif value.respond_to? :to_hash
|
215
|
+
value.to_hash
|
216
|
+
else
|
217
|
+
value
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
@@ -0,0 +1,221 @@
|
|
1
|
+
=begin
|
2
|
+
#Cheminée
|
3
|
+
|
4
|
+
#Cheminée: The Chemical Structure Search Engine
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Cheminee
|
17
|
+
class MolBlock
|
18
|
+
attr_accessor :mol_block
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'mol_block' => :'mol_block'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Returns all the JSON keys this model knows about
|
28
|
+
def self.acceptable_attributes
|
29
|
+
attribute_map.values
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.openapi_types
|
34
|
+
{
|
35
|
+
:'mol_block' => :'String'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# List of attributes with nullable: true
|
40
|
+
def self.openapi_nullable
|
41
|
+
Set.new([
|
42
|
+
])
|
43
|
+
end
|
44
|
+
|
45
|
+
# Initializes the object
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
+
def initialize(attributes = {})
|
48
|
+
if (!attributes.is_a?(Hash))
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Cheminee::MolBlock` initialize method"
|
50
|
+
end
|
51
|
+
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Cheminee::MolBlock`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
|
+
end
|
57
|
+
h[k.to_sym] = v
|
58
|
+
}
|
59
|
+
|
60
|
+
if attributes.key?(:'mol_block')
|
61
|
+
self.mol_block = attributes[:'mol_block']
|
62
|
+
else
|
63
|
+
self.mol_block = nil
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
68
|
+
# @return Array for valid properties with the reasons
|
69
|
+
def list_invalid_properties
|
70
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
71
|
+
invalid_properties = Array.new
|
72
|
+
if @mol_block.nil?
|
73
|
+
invalid_properties.push('invalid value for "mol_block", mol_block cannot be nil.')
|
74
|
+
end
|
75
|
+
|
76
|
+
invalid_properties
|
77
|
+
end
|
78
|
+
|
79
|
+
# Check to see if the all the properties in the model are valid
|
80
|
+
# @return true if the model is valid
|
81
|
+
def valid?
|
82
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
83
|
+
return false if @mol_block.nil?
|
84
|
+
true
|
85
|
+
end
|
86
|
+
|
87
|
+
# Checks equality by comparing each attribute.
|
88
|
+
# @param [Object] Object to be compared
|
89
|
+
def ==(o)
|
90
|
+
return true if self.equal?(o)
|
91
|
+
self.class == o.class &&
|
92
|
+
mol_block == o.mol_block
|
93
|
+
end
|
94
|
+
|
95
|
+
# @see the `==` method
|
96
|
+
# @param [Object] Object to be compared
|
97
|
+
def eql?(o)
|
98
|
+
self == o
|
99
|
+
end
|
100
|
+
|
101
|
+
# Calculates hash code according to all attributes.
|
102
|
+
# @return [Integer] Hash code
|
103
|
+
def hash
|
104
|
+
[mol_block].hash
|
105
|
+
end
|
106
|
+
|
107
|
+
# Builds the object from hash
|
108
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
109
|
+
# @return [Object] Returns the model itself
|
110
|
+
def self.build_from_hash(attributes)
|
111
|
+
return nil unless attributes.is_a?(Hash)
|
112
|
+
attributes = attributes.transform_keys(&:to_sym)
|
113
|
+
transformed_hash = {}
|
114
|
+
openapi_types.each_pair do |key, type|
|
115
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
116
|
+
transformed_hash["#{key}"] = nil
|
117
|
+
elsif type =~ /\AArray<(.*)>/i
|
118
|
+
# check to ensure the input is an array given that the attribute
|
119
|
+
# is documented as an array but the input is not
|
120
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
121
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
122
|
+
end
|
123
|
+
elsif !attributes[attribute_map[key]].nil?
|
124
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
125
|
+
end
|
126
|
+
end
|
127
|
+
new(transformed_hash)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Deserializes the data based on type
|
131
|
+
# @param string type Data type
|
132
|
+
# @param string value Value to be deserialized
|
133
|
+
# @return [Object] Deserialized data
|
134
|
+
def self._deserialize(type, value)
|
135
|
+
case type.to_sym
|
136
|
+
when :Time
|
137
|
+
Time.parse(value)
|
138
|
+
when :Date
|
139
|
+
Date.parse(value)
|
140
|
+
when :String
|
141
|
+
value.to_s
|
142
|
+
when :Integer
|
143
|
+
value.to_i
|
144
|
+
when :Float
|
145
|
+
value.to_f
|
146
|
+
when :Boolean
|
147
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
148
|
+
true
|
149
|
+
else
|
150
|
+
false
|
151
|
+
end
|
152
|
+
when :Object
|
153
|
+
# generic object (usually a Hash), return directly
|
154
|
+
value
|
155
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
156
|
+
inner_type = Regexp.last_match[:inner_type]
|
157
|
+
value.map { |v| _deserialize(inner_type, v) }
|
158
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
159
|
+
k_type = Regexp.last_match[:k_type]
|
160
|
+
v_type = Regexp.last_match[:v_type]
|
161
|
+
{}.tap do |hash|
|
162
|
+
value.each do |k, v|
|
163
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
else # model
|
167
|
+
# models (e.g. Pet) or oneOf
|
168
|
+
klass = Cheminee.const_get(type)
|
169
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the string representation of the object
|
174
|
+
# @return [String] String presentation of the object
|
175
|
+
def to_s
|
176
|
+
to_hash.to_s
|
177
|
+
end
|
178
|
+
|
179
|
+
# to_body is an alias to to_hash (backward compatibility)
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_body
|
182
|
+
to_hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Returns the object in the form of hash
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
187
|
+
def to_hash
|
188
|
+
hash = {}
|
189
|
+
self.class.attribute_map.each_pair do |attr, param|
|
190
|
+
value = self.send(attr)
|
191
|
+
if value.nil?
|
192
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
193
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
194
|
+
end
|
195
|
+
|
196
|
+
hash[param] = _to_hash(value)
|
197
|
+
end
|
198
|
+
hash
|
199
|
+
end
|
200
|
+
|
201
|
+
# Outputs non-array value in the form of hash
|
202
|
+
# For object, use to_hash. Otherwise, just return the value
|
203
|
+
# @param [Object] value Any valid value
|
204
|
+
# @return [Hash] Returns the value in the form of hash
|
205
|
+
def _to_hash(value)
|
206
|
+
if value.is_a?(Array)
|
207
|
+
value.compact.map { |v| _to_hash(v) }
|
208
|
+
elsif value.is_a?(Hash)
|
209
|
+
{}.tap do |hash|
|
210
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
211
|
+
end
|
212
|
+
elsif value.respond_to? :to_hash
|
213
|
+
value.to_hash
|
214
|
+
else
|
215
|
+
value
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
end
|
220
|
+
|
221
|
+
end
|
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
|
-
OpenAPI Generator version: 7.
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Cheminee
|
14
|
-
VERSION = '0.1.
|
14
|
+
VERSION = '0.1.18'
|
15
15
|
end
|
data/lib/cheminee.rb
CHANGED
@@ -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
|
-
OpenAPI Generator version: 7.
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,11 +19,13 @@ require 'cheminee/configuration'
|
|
19
19
|
# Models
|
20
20
|
require 'cheminee/models/bulk_request'
|
21
21
|
require 'cheminee/models/bulk_request_doc'
|
22
|
+
require 'cheminee/models/converted_smiles'
|
22
23
|
require 'cheminee/models/create_index_error'
|
23
24
|
require 'cheminee/models/get_indexes_response_error'
|
24
25
|
require 'cheminee/models/index_meta'
|
25
26
|
require 'cheminee/models/index_schema'
|
26
27
|
require 'cheminee/models/list_index_response_err'
|
28
|
+
require 'cheminee/models/mol_block'
|
27
29
|
require 'cheminee/models/post_index_bulk_response_error'
|
28
30
|
require 'cheminee/models/post_index_bulk_response_ok'
|
29
31
|
require 'cheminee/models/post_index_bulk_response_ok_status'
|
Binary file
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#Cheminée
|
3
|
+
|
4
|
+
#Cheminée: The Chemical Structure Search Engine
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Cheminee::ConvertedSmiles
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Cheminee::ConvertedSmiles do
|
21
|
+
let(:instance) { Cheminee::ConvertedSmiles.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConvertedSmiles' do
|
24
|
+
it 'should create an instance of ConvertedSmiles' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Cheminee::ConvertedSmiles)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "smiles"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "error"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#Cheminée
|
3
|
+
|
4
|
+
#Cheminée: The Chemical Structure Search Engine
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Cheminee::MolBlock
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Cheminee::MolBlock do
|
21
|
+
let(:instance) { Cheminee::MolBlock.new }
|
22
|
+
|
23
|
+
describe 'test an instance of MolBlock' do
|
24
|
+
it 'should create an instance of MolBlock' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Cheminee::MolBlock)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "mol_block"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
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.18
|
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-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -64,12 +64,14 @@ files:
|
|
64
64
|
- cheminee.gemspec
|
65
65
|
- docs/BulkRequest.md
|
66
66
|
- docs/BulkRequestDoc.md
|
67
|
+
- docs/ConvertedSmiles.md
|
67
68
|
- docs/CreateIndexError.md
|
68
69
|
- docs/DefaultApi.md
|
69
70
|
- docs/GetIndexesResponseError.md
|
70
71
|
- docs/IndexMeta.md
|
71
72
|
- docs/IndexSchema.md
|
72
73
|
- docs/ListIndexResponseErr.md
|
74
|
+
- docs/MolBlock.md
|
73
75
|
- docs/PostIndexBulkResponseError.md
|
74
76
|
- docs/PostIndexBulkResponseOk.md
|
75
77
|
- docs/PostIndexBulkResponseOkStatus.md
|
@@ -91,11 +93,13 @@ files:
|
|
91
93
|
- lib/cheminee/configuration.rb
|
92
94
|
- lib/cheminee/models/bulk_request.rb
|
93
95
|
- lib/cheminee/models/bulk_request_doc.rb
|
96
|
+
- lib/cheminee/models/converted_smiles.rb
|
94
97
|
- lib/cheminee/models/create_index_error.rb
|
95
98
|
- lib/cheminee/models/get_indexes_response_error.rb
|
96
99
|
- lib/cheminee/models/index_meta.rb
|
97
100
|
- lib/cheminee/models/index_schema.rb
|
98
101
|
- lib/cheminee/models/list_index_response_err.rb
|
102
|
+
- lib/cheminee/models/mol_block.rb
|
99
103
|
- lib/cheminee/models/post_index_bulk_response_error.rb
|
100
104
|
- lib/cheminee/models/post_index_bulk_response_ok.rb
|
101
105
|
- lib/cheminee/models/post_index_bulk_response_ok_status.rb
|
@@ -112,17 +116,19 @@ files:
|
|
112
116
|
- lib/cheminee/version.rb
|
113
117
|
- openapi-generator-config.json
|
114
118
|
- openapi.json
|
115
|
-
- pkg/cheminee-0.1.
|
119
|
+
- pkg/cheminee-0.1.18.gem
|
116
120
|
- spec/api/default_api_spec.rb
|
117
121
|
- spec/api_client_spec.rb
|
118
122
|
- spec/configuration_spec.rb
|
119
123
|
- spec/models/bulk_request_doc_spec.rb
|
120
124
|
- spec/models/bulk_request_spec.rb
|
125
|
+
- spec/models/converted_smiles_spec.rb
|
121
126
|
- spec/models/create_index_error_spec.rb
|
122
127
|
- spec/models/get_indexes_response_error_spec.rb
|
123
128
|
- spec/models/index_meta_spec.rb
|
124
129
|
- spec/models/index_schema_spec.rb
|
125
130
|
- spec/models/list_index_response_err_spec.rb
|
131
|
+
- spec/models/mol_block_spec.rb
|
126
132
|
- spec/models/post_index_bulk_response_error_spec.rb
|
127
133
|
- spec/models/post_index_bulk_response_ok_spec.rb
|
128
134
|
- spec/models/post_index_bulk_response_ok_status_spec.rb
|
@@ -169,12 +175,14 @@ test_files:
|
|
169
175
|
- spec/models/standardized_smile_spec.rb
|
170
176
|
- spec/models/smile_spec.rb
|
171
177
|
- spec/models/structure_response_error_spec.rb
|
178
|
+
- spec/models/converted_smiles_spec.rb
|
172
179
|
- spec/models/index_schema_spec.rb
|
173
180
|
- spec/models/get_indexes_response_error_spec.rb
|
174
181
|
- spec/models/query_search_hit_spec.rb
|
175
182
|
- spec/models/bulk_request_spec.rb
|
176
183
|
- spec/models/query_response_error_spec.rb
|
177
184
|
- spec/models/substructure_search_hit_spec.rb
|
185
|
+
- spec/models/mol_block_spec.rb
|
178
186
|
- spec/models/bulk_request_doc_spec.rb
|
179
187
|
- spec/models/post_index_bulk_response_ok_status_spec.rb
|
180
188
|
- spec/models/smiles_spec.rb
|
data/pkg/cheminee-0.1.17.gem
DELETED
Binary file
|