Comments (4)
I thought JSON is a bit out-of-fashion nowadays in favor of YAML/TOML as it's harder to read/write for human beings.
Is there no way of simplifying the config file instead? For instance, why can't this
input:
-
- input:
type: file
description: Input BAM or CRAM file
pattern: *.{bam,cram}
just be that?
input:
- input:
type: file
description: Input BAM or CRAM file
pattern: *.{bam,cram}
(or in TOML)
[input]
[input]
type="file"
description="Input BAM"
pattern="*.{bam,cream"
from modules.
There was a reason.. Off the top of my head I think it was because inputs can have more than one item - eg. sample name and input file. So needs to be a nested list.
I agree that YAML is easier to read for simple stuff, but my point with this issue is that if we need more complex structures then it gets really easy to mess up YAML. JSON tends to be more verbose and clear in this case I think.
from modules.
NB: Maybe itβs massive overkill to record the inputs and outputs in this file. I was just putting down everything I could think of. In which case, yeah maybe the (existing) YAML is fine / better.
from modules.
I think we have somewhat come to a consensus as to the format and content of this file (YAML) having voted on Slack recently to have a description, inputs, outputs and authors section.
from modules.
Related Issues (20)
- controlfreec/freec2circos
- plink/epistasis
- PIGZ_UNCOMPRESS causes groovyjarjarantlr4.v4.runtime.LexerNoViableAltException
- Picard sortsam does not include the $args input in the command line
- new subworkflow: FASTA/ADD_BUILD/KRAKEN2 HOT 1
- Module stub that `touch .gz` break snapshots in `nf-test` HOT 2
- new module: xengsort/classify
- new module: gnu/split
- new module: agat/spfilterfeaturefromkilllist
- new module: agat/spmergeannotations
- new module: lofreq/alnqual
- new module: annosine
- new module: tesorter
- kraken2 modules do not use compatible container images
- [FEATURE] iqtree: output additional files
- new module: updates on cellranger_multi HOT 1
- new module: dorado HOT 1
- new module: dorado HOT 1
- new module: TSEBRA
- Update test checksums in seqkit modules to allow for upgrades
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modules.