sequencescape-client-api 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c062e8e2cf8d46ebb0087e9c85c16a211b36a8b9a8014db7a5826e1ac25f341
|
4
|
+
data.tar.gz: b739820427c420b476338b31d369a964fc3ff6797c890152a39d2b8cbcd80c44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58d4ac49153efb4a8a7e426672e39ba670da503b849e5c3f9c968958300e45168a2f8325a1b2cdf3c539602c5ccda17d8a53aaccac05c9a5d0cdf159014b39c5
|
7
|
+
data.tar.gz: 59308361c7935ff38979979c5907b17dce49ec4c898b7aa93611d9a6940a5df460596b01b0bf91c7eb8c456b029ffd1bf3b593c4f505a46127f648d197890be5
|
data/lib/sequencescape/plate.rb
CHANGED
@@ -68,4 +68,18 @@ class Sequencescape::Plate < ::Sequencescape::Asset
|
|
68
68
|
raise Sequencescape::Api::Error, "Unexpected number of transfers found: #{creation_transfers.count} found, 1 expected."
|
69
69
|
end
|
70
70
|
|
71
|
+
|
72
|
+
module UpdateExtractionAttributes
|
73
|
+
def create!(attributes = nil)
|
74
|
+
attributes ||= {}
|
75
|
+
new({}, false).tap do |attrs|
|
76
|
+
api.create(actions.create, {:extraction_attribute => attributes}, Sequencescape::Api::ModifyingHandler.new(attrs))
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
has_many :extraction_attributes, :class_name => 'ExtractionAttribute' do
|
82
|
+
include Sequencescape::Plate::UpdateExtractionAttributes
|
83
|
+
end
|
84
|
+
|
71
85
|
end
|
@@ -7,5 +7,5 @@ class Sequencescape::TransferRequest < ::Sequencescape::Api::Resource
|
|
7
7
|
belongs_to :submission, :class_name => 'Submission'
|
8
8
|
belongs_to :outer_request, :class_name => 'Request'
|
9
9
|
|
10
|
-
attribute_accessor :type, :state, :submission_id, :volume
|
10
|
+
attribute_accessor :type, :state, :submission_id, :volume, :merge_equivalent_aliquots
|
11
11
|
end
|
data/lib/sequencescape.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequencescape-client-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Denner
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -374,6 +374,7 @@ files:
|
|
374
374
|
- lib/sequencescape/bulk_transfer.rb
|
375
375
|
- lib/sequencescape/comment.rb
|
376
376
|
- lib/sequencescape/custom_metadatum_collection.rb
|
377
|
+
- lib/sequencescape/extraction_attribute.rb
|
377
378
|
- lib/sequencescape/lane.rb
|
378
379
|
- lib/sequencescape/library_event.rb
|
379
380
|
- lib/sequencescape/library_tube.rb
|
@@ -489,8 +490,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
489
490
|
- !ruby/object:Gem::Version
|
490
491
|
version: '0'
|
491
492
|
requirements: []
|
492
|
-
|
493
|
-
rubygems_version: 2.7.7
|
493
|
+
rubygems_version: 3.0.3
|
494
494
|
signing_key:
|
495
495
|
specification_version: 4
|
496
496
|
summary: Gem for the client side of the Sequencescape API
|