Open nsheff opened 5 years ago
HTML report generation has been moved to pipestat summarize. Recently,we added passing looper sample objects to pipestat summarize to add attributes from the PEP to the generated report. These derived attriubtes live on the same sample object:
Therefore, they can be accessed and used for the above request.
Some initial exploratory work placing these items in their own section below the main sample table:
I will change it to a better looking table that contains:
I will also see if I can enable toggling of that section.
Currently, the derived attributes are reported in the sample table.
After discussion:
read1
comes from R1
, but that may not be the case. For example, Read1 for one sample might come from R1
and another sample might from from Ex1
. Therefore adding the above table is not helpful.
It would be nice if the looper summary results page could toggle between showing derived attribute keys and actual derived attributes.
For any attributes listed as
derived_attributes
, theSample
object will have an additional attribute for the key. For example, if the attribute werecolor
, it would be an attribute calledcolor_key
.We could use this along with
CSS
to toggle which is displayed for that attribute, the key or the value.