[WIP] Feature comet config#178
Conversation
|
di-hardt
left a comment
There was a problem hiding this comment.
there should be a test case to make sure the comet.params file under assets has the same version as comet. otherwise a comet update could brake the pipeline when the default config was not updated but used.
There was a problem hiding this comment.
this is part of the helper python module, could you use it?
There was a problem hiding this comment.
The test case checks the adjusted params file for identity (using a hash).
If the provided asset file is updated, the test needs to be updated, which is intended. Newer versions of comet also don't break with older files if only the version is wrong. They just break if they don't understand the parameters.
Comet is not used yet in this PR (was accidentally added but removed now again).
I am using the template function and remove the function in the python helper module. Here, the template works nicely (as it is short enough and only used as nf-core [local] module).
This introduces the cometconfig module
(but first #170 ident_dda must be merged)