pepkit / looper

A job submitter for Portable Encapsulated Projects
http://looper.databio.org
BSD 2-Clause "Simplified" License
20 stars 7 forks source link

toggling derived attributes in looper summarize results. #82

Open nsheff opened 5 years ago

nsheff commented 5 years ago

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, the Sample object will have an additional attribute for the key. For example, if the attribute were color, it would be an attribute called color_key.

We could use this along with CSS to toggle which is displayed for that attribute, the key or the value.

donaldcampbelljr commented 10 months 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: image

Therefore, they can be accessed and used for the above request.

donaldcampbelljr commented 9 months ago

Some initial exploratory work placing these items in their own section below the main sample table: image

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.

donaldcampbelljr commented 9 months ago

After discussion: