From 47514c04fbd72109cf7402928417a3736875caa2 Mon Sep 17 00:00:00 2001 From: Nicolas Vannieuwkerke Date: Thu, 18 Apr 2024 12:46:03 +0200 Subject: [PATCH] add a small note about the automatic typing in csv or tsv --- docs/samplesheets/samplesheetToList.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/samplesheets/samplesheetToList.md b/docs/samplesheets/samplesheetToList.md index 31715ed9..bd54cb9d 100644 --- a/docs/samplesheets/samplesheetToList.md +++ b/docs/samplesheets/samplesheetToList.md @@ -20,6 +20,10 @@ These can be either a string with the relative path (from the root of the pipeli samplesheetToList("path/to/samplesheet", "path/to/json/schema") ``` +!!! note + + All data points in the CSV and TSV samplesheets will be converted to their derived type. (e.g. `"true"` will be converted to the Boolean `true` and `"2"` will be converted to the Integer `2`). You can still convert these types back to a String if this is not the expected behaviour with `.map { val -> val.toString() }` + This function can be used together with existing channel factories/operators to create one channel entry per samplesheet entry. ### Use as a channel factory