arvados-cli 0.1.20140807091031 → 0.1.20140807104453
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/crunch-job +6 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5f65f6826fa5e12412a470529847109299b5741
|
4
|
+
data.tar.gz: 2b64b8247f2896bf8226df2c3326adaec1ed15e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecade87cc0ce01e93c1516a71b6e140bead5194e8b9eb1e1dc5ae458b96182320469272b9a83da1067a3e3df93ee4475134ab2590cd812e20131c33bad64a76c
|
7
|
+
data.tar.gz: f6898f925a1f1ec9be6c6c69dc715ede9763154bce049d3a14dba79b94e7e90d048e02d29e113ad7ee6b1d3c8b8d2679e3ecb907f8f05aa34e49911b12e2a94e
|
data/bin/crunch-job
CHANGED
@@ -834,8 +834,10 @@ if ($job_has_uuid) {
|
|
834
834
|
'finished_at' => scalar gmtime)
|
835
835
|
}
|
836
836
|
|
837
|
-
if (
|
838
|
-
|
837
|
+
if (!$collated_output) {
|
838
|
+
Log(undef, "output undef");
|
839
|
+
}
|
840
|
+
else {
|
839
841
|
eval {
|
840
842
|
open(my $orig_manifest, '-|', 'arv-get', $collated_output)
|
841
843
|
or die "failed to get collated manifest: $!";
|
@@ -858,7 +860,8 @@ if ($collated_output)
|
|
858
860
|
'uuid' => md5_hex($stripped_manifest_text),
|
859
861
|
'manifest_text' => $orig_manifest_text,
|
860
862
|
});
|
861
|
-
|
863
|
+
Log(undef, "output " . $output->{uuid});
|
864
|
+
$Job->update_attributes('output' => $output->{uuid}) if $job_has_uuid;
|
862
865
|
if ($Job->{'output_is_persistent'}) {
|
863
866
|
$arv->{'links'}->{'create'}->execute('link' => {
|
864
867
|
'tail_kind' => 'arvados#user',
|
@@ -1244,15 +1247,6 @@ sub collate_output
|
|
1244
1247
|
}
|
1245
1248
|
waitpid($pid, 0);
|
1246
1249
|
|
1247
|
-
if ($joboutput)
|
1248
|
-
{
|
1249
|
-
Log (undef, "output $joboutput");
|
1250
|
-
$Job->update_attributes('output' => $joboutput) if $job_has_uuid;
|
1251
|
-
}
|
1252
|
-
else
|
1253
|
-
{
|
1254
|
-
Log (undef, "output undef");
|
1255
|
-
}
|
1256
1250
|
return $joboutput;
|
1257
1251
|
}
|
1258
1252
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20140807104453
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
@@ -166,7 +166,7 @@ dependencies:
|
|
166
166
|
- - "<"
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: 1.0.0
|
169
|
-
description: This is the Arvados SDK CLI gem, git revision
|
169
|
+
description: This is the Arvados SDK CLI gem, git revision 1d1069684c35353f9f0ee4020b76f5dfc7406a47
|
170
170
|
email: gem-dev@curoverse.com
|
171
171
|
executables:
|
172
172
|
- arv
|