pypiper
pypiper copied to clipboard
report_result docstrings for value is inaccurate
I am experiencing this as I use pypiper in Bedbase.
pm.report_result(key="bedtype", value=self.bed_type)
It expects value to be a dict, but it does not need to be a dict. It could be a dict or a primitive.
Pypiper version v0.14.0
I don't understand the problem, sorry. Can you clarify?
the docstrings need to be updated:
Value can be a dict OR it can be a string/integer etc. Because the function goes on to great a dict = {key:value} which it passes to pipestat.report.