Now that we can pass around custom (value/metadata) classes and have them cached, it would be wonderful if Nextflow could recognize Path members/properties so they are localized and available for the process that uses the class. For example:
import nextflow.io.ValueObject
@ValueObject
class SampleData {
/** The sample name */
String name
/** The path to the read one FASTQ */
Path r1
/** The path to the read two FASTQ */
Path r2
}
There could be a way annotate r1 and r2 (or return the list of paths etc) for nextflow to localize them.
Now that we can pass around custom (value/metadata) classes and have them cached, it would be wonderful if Nextflow could recognize
Pathmembers/properties so they are localized and available for the process that uses the class. For example:There could be a way annotate
r1andr2(or return the list of paths etc) for nextflow to localize them.