glycobook 0.1.0.alpha.24-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 +2 -2
  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: c57696fa2ad8b032a46281386ea028f2640043f9ee43fe1b4c6f08e225382ecf
4
- data.tar.gz: 43ed043caab23d4f79af74c595e4c7d86ea91c233c3b3ec5231ce40ae3810e3a
3
+ metadata.gz: b1246f7e09e56a614d5bfc9b3b33001aeb9a95110b53f4a9d9ec980f3e535c6a
4
+ data.tar.gz: 564b31e1e4fa5691208b5dcf29b608860e21863e93b4bb9dea75ca78ecabb29a
5
5
  SHA512:
6
- metadata.gz: 01a1b387ace6b56ef15b38c2d2ae87bf8dcfa32a1cfc20793a9108dd0f64cc055113a73c73af3fb23533614cf5a94bbcf4af91db76e11f8be9e37b48498a26df
7
- data.tar.gz: 02be25d4e3a1f3d1535a5e2db614316cd2454a77ba51b800ad86b5ee6b1ca3609e18fba9e161d102bb1265bc1594ca296e550d7f226838f56e2e9b2562504389
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.9
48
- url: "https://gitlab.glyco.info/glycosmos/subsumption/subsumption/-/package_files/647/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
@@ -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.24
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-12-04 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