Closed ewels closed 8 years ago
This is a fairly easy file to configure so a format change and breaking of backwards compatibility isn't so much of an issue (for me at least). So if it help with your OCD, go for it
Meh.
The old format doesn't really bother me - it seems a little over-complicated with the @ symbols and the like when a simple tab (or even whitespace) delimited format would probably do just as well.
It's going to be trivial to migrate to the new format, but to be honest the YAML version looks easier to get wrong than the previous one.
Do what you will...
Ok, general apathy - I will swallow my OCD and leave it how it is.
I think the @
symbol stuff was because the config options can be specified in run files / pipeline configs? But in reality I don't think any pipeline files have config options in them any more, so not really used.
The current syntax for Cluster Flow configs / genomes makes me wince every time I look at it. It's custom written and relies on pretty fragile hardcoded parsing of stuff like special
@
characters and/*
comments.It could be nice to change to something more standard (probably YAML). This would probably be easier to edit and less prone to accidental errors.
eg. Convert this:
to this:
Would also use new features such as nesting to clean up some syntax, eg instead of:
Could have this:
This would obviously require some rewriting of
Constants.pm
and probably a new requirement in the format of a module to parse theYAML
(or whatever). I'm assuming that Perl doesn't have a standard package to do this? Worst, it would break backwards compatibility. There are a few options here:This is very much an open suggestion / question at this point. Any thoughts @s-andrews / @darogan / @stu2 / others?