glycobook 0.1.0.alpha.23-java → 0.1.0.alpha.25-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/jar.yml +4 -4
  3. data/lib/glycobook/mol_wurcs.rb +7 -4
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54291cdf1cc15d9494b5f931527624edea2b22e4406b86a5e2da164c34928d6d
4
- data.tar.gz: ceabbea0e098bd5d424d9d2379f1014869242517179a26b04e4d12865bc4a63d
3
+ metadata.gz: b1246f7e09e56a614d5bfc9b3b33001aeb9a95110b53f4a9d9ec980f3e535c6a
4
+ data.tar.gz: 564b31e1e4fa5691208b5dcf29b608860e21863e93b4bb9dea75ca78ecabb29a
5
5
  SHA512:
6
- metadata.gz: 711e5450c4a6db15dc122620ce179a995260a1203c36d929f922e592ff6b585716ae0513ebec06dc933d7ced9d34ed1450e9853afe0e28c6e8dd6614f1031ecd
7
- data.tar.gz: ab7f7c353eb54c5047cbb64b4ff6e51fade4fed1bc7fa95afa7ac597ec9bced8c007cbd9dac8ae627d940367f9ecd17830d1d6bb98f8468761420927f7060293
6
+ metadata.gz: 20cd26f759a22e602794cfadd066f4a894fbe76c25dd46dafa5f73c52f093d61fb60b8abd4cec514dc6ec037ad363306fcdd8990d6ce654237534aa2b6935938
7
+ data.tar.gz: 52dc401adc568e347de39478f6d09207ca3ce68703781cfcc316af9ab28ac6bd35a3715d395b06d91e9eceaafe76fbe7a1a519de0fc8a4c2a2e696849edea9e2
data/jar.yml CHANGED
@@ -44,8 +44,8 @@ libraries:
44
44
 
45
45
  - name: subsumption
46
46
  info: "https://gitlab.glyco.info/glycosmos/subsumption/subsumption"
47
- version: 0.9.6
48
- url: "https://gitlab.glyco.info/glycosmos/subsumption/subsumption/-/package_files/590/download"
47
+ version: 0.10.0
48
+ url: "https://gitlab.glyco.info/glycosmos/subsumption/subsumption/-/package_files/729/download"
49
49
  file: "jar/subsumption.jar"
50
50
 
51
51
  - name: archetype
@@ -66,7 +66,7 @@ libraries:
66
66
  url: "https://raw.githubusercontent.com/glycoinfo/MavenRepository/master/org/eurocarbdb/MolecularFramework/1.0.0/MolecularFramework-1.0.0.jar"
67
67
  file: "jar/MolecularFramework.jar"
68
68
 
69
- - name: The Chemistry Development Kit
69
+ - name: TheChemistryDevelopmentKit
70
70
  info: https://github.com/cdk/cdk
71
71
  version: 2.9
72
72
  url: https://github.com/cdk/cdk/releases/download/cdk-2.9/cdk-2.9.jar
@@ -76,4 +76,4 @@ libraries:
76
76
  info: https://gitlab.com/glycoinfo/molwurcs
77
77
  version: 0.10.2
78
78
  url: https://gitlab.com/glycoinfo/molwurcs/-/package_files/89942780/download
79
- file: jar/MolWURCS.jar
79
+ file: jar/MolWURCS.jar
@@ -14,17 +14,20 @@ java_import 'org.openscience.cdk.io.SDFWriter'
14
14
  java_import 'org.openscience.cdk.smiles.SmiFlavor'
15
15
  java_import 'org.openscience.cdk.smiles.SmilesGenerator'
16
16
  java_import 'org.openscience.cdk.silent.SilentChemObjectBuilder'
17
- java_import 'java.io.StringReader'
18
17
  java_import 'java.nio.file.Files'
19
18
  java_import 'java.nio.file.Paths'
20
- java_import 'java.io.IOException'
21
19
  java_import 'java.lang.System'
22
20
  java_import 'java.util.ArrayList'
23
21
  java_import 'java.io.StringWriter'
22
+ java_import 'java.io.IOException'
23
+ java_import 'java.io.StringReader'
24
24
 
25
25
  module GlycoBook
26
- class MolWURCS
27
- def wurcs2mol(w, format)
26
+ class MolWURCS
27
+ # @param [String] w String of WURCS
28
+ # @param [String] format: smiles or sdf
29
+ # @return [String] string with specified molecular descriptor
30
+ def wurcs2mol(w,format)
28
31
  mols = read_wurcs(w)
29
32
  return {"flag": false,"wurcs": w, "message": "WURCS strings that could not be parsed to the atomic level"} if mols.nil?
30
33
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glycobook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha.23
4
+ version: 0.1.0.alpha.25
5
5
  platform: java
6
6
  authors:
7
7
  - Akihiro Fujita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-26 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -17,8 +17,8 @@ dependencies:
17
17
  - !ruby/object:Gem::Version
18
18
  version: 0.0.2
19
19
  name: java
20
- type: :runtime
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: 1.3.1
66
66
  requirements: []
67
- rubygems_version: 3.4.22
67
+ rubygems_version: 3.3.26
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Glycobook is a JRuby library for glycaninformatics