-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New feature request: Conditional formatting for whole tables #761
Comments
I did it again! Suggested a feature that I have already written. And even with exactly the same config name 🤣 At least I'm consistent! This feature already exists - just specify
|
ahah Ok, so yes sorry I should have clarified. I did see that, but then it applies the formatting to ALL columns in the report - which is not good either. I need to be able to specify all_columns in that_table. table_cond_formatting_rules:
all_columns:
pass:
- s_eq: 'pass'
- s_eq: 'true'
warn:
- s_eq: 'warn'
- s_eq: 'unknown'
fail:
- s_eq: 'fail'
- s_eq: 'false' For instance, I'd need something like that: table_cond_formatting_rules:
*my_table_X*:
all_columns:
pass:
- lt: 0.5
warn:
- gt: 6
fail:
- gt: 8 |
Thanks for the clarification! I’ll take a look. Should be possible to specify just the table ID - they should be unique so MultiQC can check the column IDs first then the table IDs I think.. |
Cool. I leave it with you!
|
@RoxaneLS it's finally done! Sorry that it took... 3 years, 5 months and 25 days!! What's worse is that in the end it only took a few keystrokes: Hopefully it'll still be useful, and thanks @ErikDanielsson for taking a look at this even though I didn't use your PR. |
Updated docs: https://multiqc.info/docs/#conditional-formatting |
Ah! Better late than never ;) Thanks!
Le mer. 10 nov. 2021 à 20:27, Phil Ewels ***@***.***> a
écrit :
… @RoxaneLS <https://github.com/RoxaneLS> it's finally done! Sorry that it
took... 3 years, 5 months and 25 days!!
What's worse is that in the end it only took a few keystrokes
<575f39a#diff-e0dbf56121deccef096a816c2a757b4b62b95e7c668f816b08da84deba88d4c8R203>:
, table_id 😆
Hopefully it'll still be useful, and thanks @ErikDanielsson
<https://github.com/ErikDanielsson> for taking a look at this even though
I didn't use your PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#761 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEMX5Q6UUOLCTA4H2ZU56DULI3JJANCNFSM4FACUSWA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Phil,
as discussed on Gitter, just requesting a new feature to allow for conditional formatting at the table level (instead of per-column).
More specifically, I would like to have all values greater than X in my custom table highlighted in red (which I can do per-column using the
table_cond_formatting_rules
in the config file). However in my use case, the column names will be different for every new run, so I can't use that.From our chat:
Thanks a lot in advance!
Roxane
The text was updated successfully, but these errors were encountered: