Closed donaldcampbelljr closed 7 months ago
probably. config used to be an attmap and no longer is.
I thought we had addressed this, but either way, I think we should change to using item access with brackets
Unfortunately, this case is not back-compatible, all samples support attribute accession, but not config file items. config
attribute is dict object so, all the items should be accessed using dict-like way
that makes sense, so this will need to be updated.
Going forward using: pep.config["output_dir"]
I'm currently updating pep-pipelines for snakemake integration: https://github.com/pepkit/pep-pipelines/blob/805cbc75ca2dfdf57bfee412987816e5f7c52d0a/pipelines/pep-snakemake/simple/pipelines/Snakefile#L6-L9
I noticed that the Snakefile calls
pep.config.output_dir
but this not work. Instead, I must change it topep.config["output_dir"]
.Is this intended behavior?
Using
peppy v0.40.0a5