bolognese 2.3.0 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1deafd2515ccde3db2712a353b9554540d10988f4f1d617e910e5aff22473bfe
4
- data.tar.gz: 566fec5d398deae0a3709d002823e853586721109d728716256e33d8ceed8e62
3
+ metadata.gz: 87b12df51d1fcae47a692ca1bfa34c41f37837d48b6b341fb4669bd10cf545df
4
+ data.tar.gz: b2052486460de2fd1769d084116f3968430b532d08eb2e6a29608c8442553445
5
5
  SHA512:
6
- metadata.gz: fbcd1fe74bc9c6e106e0920c9638dd990a48c01c1f0ab159a58b100ace0c27a93d62680f5c382b74e8d7dd20ba22e2a02f7ab510408dd75ea7c1ac00352a2a15
7
- data.tar.gz: 0f479622eb0ed17d3a3c8a8748171b146d3bb110f2f782eb3de61d38b8c8dd82ed8ff146ceeb32ceddad12ba471a9d195c8a19851381d000e1af87057b217c54
6
+ metadata.gz: 3f08a7a5c7880372702b122bdf588dc1dd1c84512158961438fd8041eda547694188a6bbcc3f52c4e2234353bd07cc0506176483bb31084770f35583b9293c7c
7
+ data.tar.gz: 1ddf1ba488957f079c9889e4c2da169714de4fd17ce785eb882d5c76ac9b7a8e6279f8614d6ee04e96d911be0107794ea900acc05c2079afdbee63e3e3d2db0c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bolognese (2.3.0)
4
+ bolognese (2.3.2)
5
5
  activesupport (>= 4.2.5)
6
6
  benchmark_methods (~> 0.7)
7
7
  bibtex-ruby (>= 5.1.0)
@@ -373,8 +373,8 @@ module Bolognese
373
373
 
374
374
  def crossref_has_translation(program_metadata)
375
375
  refs = program_metadata.dig("related_item") if program_metadata.is_a?(Hash)
376
- Array.wrap(refs).select { |a| a["intra_work_relation"]["relationship_type"] == "hasTranslation" }.map do |c|
377
- if c["intra_work_relation"]["identifier_type"] == "doi"
376
+ Array.wrap(refs).select { |a| a.dig("intra_work_relation", "relationship_type") == "hasTranslation" }.map do |c|
377
+ if c.dig("intra_work_relation", "identifier_type") == "doi"
378
378
  { "relatedIdentifier" => parse_attributes(c["intra_work_relation"]).downcase,
379
379
  "relationType" => "HasTranslation",
380
380
  "relatedIdentifierType" => "DOI" }.compact
@@ -386,8 +386,8 @@ module Bolognese
386
386
 
387
387
  def crossref_is_translation_of(program_metadata)
388
388
  refs = program_metadata.dig("related_item") if program_metadata.is_a?(Hash)
389
- Array.wrap(refs).select { |a| a["intra_work_relation"]["relationship_type"] == "isTranslationOf" }.map do |c|
390
- if c["intra_work_relation"]["identifier_type"] == "doi"
389
+ Array.wrap(refs).select { |a| a.dig("intra_work_relation", "relationship_type") == "isTranslationOf" }.map do |c|
390
+ if c.dig("intra_work_relation", "identifier_type") == "doi"
391
391
  { "relatedIdentifier" => parse_attributes(c["intra_work_relation"]).downcase,
392
392
  "relationType" => "IsTranslationOf",
393
393
  "relatedIdentifierType" => "DOI" }.compact
@@ -1,3 +1,3 @@
1
1
  module Bolognese
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.2"
3
3
  end
@@ -64,16 +64,6 @@
64
64
  <surname>Hardtke</surname>
65
65
  <affiliation>Department of Plant Molecular Biology, University of Lausanne, Lausanne, Switzerland</affiliation>
66
66
  </person_name>
67
- <person_name contributor_role="editor" sequence="additional">
68
- <given_name>Ashwini</given_name>
69
- <surname>Sukale</surname>
70
- <affiliation>DataCite</affiliation>
71
- </person_name>
72
- <person_name contributor_role="translator" sequence="additional">
73
- <given_name>Cody</given_name>
74
- <surname>Ross</surname>
75
- <affiliation>DataCite</affiliation>
76
- </person_name>
77
67
  </contributors>
78
68
  <jats:abstract xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1">
79
69
  <jats:p>Among various advantages, their small size makes model organisms preferred subjects of investigation. Yet, even in model systems detailed analysis of numerous developmental processes at cellular level is severely hampered by their scale. For instance, secondary growth of Arabidopsis hypocotyls creates a radial pattern of highly specialized tissues that comprises several thousand cells starting from a few dozen. This dynamic process is difficult to follow because of its scale and because it can only be investigated invasively, precluding comprehensive understanding of the cell proliferation, differentiation, and patterning events involved. To overcome such limitation, we established an automated quantitative histology approach. We acquired hypocotyl cross-sections from tiled high-resolution images and extracted their information content using custom high-throughput image processing and segmentation. Coupled with automated cell type recognition through machine learning, we could establish a cellular resolution atlas that reveals vascular morphodynamics during secondary growth, for example equidistant phloem pole formation.</jats:p>
@@ -163,14 +153,6 @@
163
153
  <rel:description>Data from: Automated quantitative histology reveals vascular morphodynamics during Arabidopsis hypocotyl secondary growth</rel:description>
164
154
  <rel:inter_work_relation identifier-type="doi" relationship-type="isSupplementedBy">10.5061/dryad.b835k</rel:inter_work_relation>
165
155
  </rel:related_item>
166
- <rel:related_item>
167
- <rel:description>Portuguese translation of an article</rel:description>
168
- <rel:intra_work_relation relationship-type="isTranslationOf" identifier-type="doi">10.5555/original_language</rel:intra_work_relation>
169
- </rel:related_item>
170
- <rel:related_item>
171
- <rel:description>Spanish translation of an article</rel:description>
172
- <rel:intra_work_relation relationship-type="hasTranslation" identifier-type="doi">10.5555/other_language</rel:intra_work_relation>
173
- </rel:related_item>
174
156
  </rel:program>
175
157
  <archive_locations>
176
158
  <archive name="CLOCKSS" />
@@ -62,8 +62,17 @@
62
62
  <affiliation>Brown University</affiliation>
63
63
  <ORCID authenticated="true">https://orcid.org/0000-0002-1825-0097</ORCID>
64
64
  </person_name>
65
+ <person_name contributor_role="editor" sequence="additional">
66
+ <given_name>Ashwini</given_name>
67
+ <surname>Sukale</surname>
68
+ <affiliation>DataCite</affiliation>
69
+ </person_name>
70
+ <person_name contributor_role="translator" sequence="additional">
71
+ <given_name>Cody</given_name>
72
+ <surname>Ross</surname>
73
+ <affiliation>DataCite</affiliation>
74
+ </person_name>
65
75
  </contributors>
66
-
67
76
  <publication_date media_type="online">
68
77
  <month>08</month>
69
78
  <day>13</day>
@@ -1100,7 +1100,7 @@ describe Bolognese::Metadata, vcr: true do
1100
1100
  end
1101
1101
 
1102
1102
  it "with Schema 4.6 Translator contributor" do
1103
- input = fixture_path + 'crossref.xml'
1103
+ input = fixture_path + 'crossref_schema_4.6_values.xml'
1104
1104
  subject = Bolognese::Metadata.new(input: input)
1105
1105
 
1106
1106
  expect(subject.contributors).to eq([
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bolognese
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-14 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: maremma