Skip to content

Commit

Permalink
port changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Dec 16, 2024
1 parent 56ed0d2 commit ffb686e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 221 deletions.
219 changes: 0 additions & 219 deletions src/main/resources/io/viash/platforms/nextflow/states/publishStates.nf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ process publishFilesProc {
if (infile.toString() != outfile.toString()) {
[
"[ -d \"\$(dirname '${outfile.toString()}')\" ] || mkdir -p \"\$(dirname '${outfile.toString()}')\"",
"cp -r '${infile.toString()}' '${outfile.toString()}'"
"ln '${infile.toString()}' '${outfile.toString()}'"
]
} else {
// no need to copy if infile is the same as outfile
Expand Down Expand Up @@ -73,7 +73,6 @@ def publishFilesByConfig(Map args) {
def state_ = tup[1] // e.g. [output: new File("myoutput.h5ad"), k: 10]
def origState_ = tup[2] // e.g. [output: '$id.$key.foo.h5ad']


// the processed state is a list of [key, value, inputPath, outputFilename] tuples, where
// - key is a String
// - value is any object that can be serialized to a Yaml (so a String/Integer/Long/Double/Boolean, a List, a Map, or a Path)
Expand Down

0 comments on commit ffb686e

Please sign in to comment.