Skip to content

Commit

Permalink
Bump quiltcore. Handle WorkflowException.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaryaz committed Oct 5, 2023
1 parent 6575615 commit 2dd1d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/nf-quilt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ext{

dependencies {
// quiltcore
implementation 'com.quiltdata.quiltcore:quiltcore:0.0.3'
implementation 'com.quiltdata.quiltcore:quiltcore:0.0.4'

// This dependency is exported to consumers, that is to say found on their compile classpath.
compileOnly "io.nextflow:nextflow:$nextflowVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import com.quiltdata.quiltcore.Namespace
import com.quiltdata.quiltcore.Manifest
import com.quiltdata.quiltcore.key.LocalPhysicalKey
import com.quiltdata.quiltcore.key.S3PhysicalKey
import com.quiltdata.quiltcore.workflows.WorkflowException

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
Expand Down Expand Up @@ -258,6 +259,8 @@ class QuiltPackage {

try {
m.push(namespace, "nf-quilt:${today()}-${msg}", parsed.workflowName)
} catch (WorkflowException e) {
return 1
} catch (IOException e) {
return 1
}
Expand Down

0 comments on commit 2dd1d94

Please sign in to comment.