CDR Tickets

Issue Number 5180
Summary Media QC report improvements
Created 2022-12-27 15:42:49
Issue Type Improvement
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2023-01-11 13:23:34
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.335441
Description

I was just reviewing some of the Media QC reports, and I noticed some anomalies.

  • There's a stray "h" at the end of the report date/time string - remove?

  • There's no padding in the table cells - add some?

  • There are duplicates in the Label Name table - eliminate them?

Comment entered 2022-12-27 18:19:48 by Englisch, Volker (NIH/NCI) [C]

Do you remember which document you were using with the duplicates in the Label Name?

By the way, the report is using DIVs instead of tables.

Comment entered 2022-12-27 18:40:14 by Kline, Bob (NIH/NCI) [C]

Do you remember which document you were using with the duplicates in the Label Name?

CDR713967

By the way, the report is using DIVs instead of tables.

The reason there's padding for the table cells in the screenshot is that I hacked the CSS in the browser to add the padding.

Comment entered 2022-12-27 18:43:20 by Kline, Bob (NIH/NCI) [C]

It's possible, I suppose, that the duplication of labels is intentional for some reason. If so, that reason isn't obvious. We can check with the users.

Comment entered 2022-12-27 19:05:19 by Englisch, Volker (NIH/NCI) [C]

You are looking at an old report.  Are you looking on DEV?  This report has been modified with OCECDR-5149 (Pauling) and looks more like this:

Comment entered 2022-12-27 19:41:40 by Kline, Bob (NIH/NCI) [C]

I'm looking at PROD.

Comment entered 2022-12-28 10:15:52 by Kline, Bob (NIH/NCI) [C]

So I guess this means that only two of the three anomalies still need to be addressed (the duplicate labels and the stray "h" at the end of the report date/time).

Comment entered 2022-12-28 10:45:00 by Englisch, Volker (NIH/NCI) [C]

Could you point me to the "duplicate labels"?  I may be blind but I'm not seeing any duplication.

The "stray h" seems to be a German thing.  When using 24-hour display we're adding "Uhr" to the display which I though the "h" would indicate in order to distinguish from the 12-hour AM/PM display.  Looks like I was making that up and I can't find that in the ISO standard.

Comment entered 2022-12-28 10:59:32 by Kline, Bob (NIH/NCI) [C]

Comment entered 2022-12-28 12:20:02 by Englisch, Volker (NIH/NCI) [C]

Oh, you are talking about content.  I will leave that up to to fix.

Comment entered 2022-12-28 12:41:22 by Kline, Bob (NIH/NCI) [C]

Ah, I see. I was assuming that the software was extracting those values from larger strings and just failing to deduplicate the results. I see now that this was a bad assumption, and the unwanted duplication is indeed in the document itself. Yes, you definitely want to reflect the duplication in the QC report so the users can see and fix the problem (that what the QC report is for, after all). Ball's in your court for that one, . So that leaves you with one tiny character to remove, . 🙂

Comment entered 2022-12-28 12:45:30 by Osei-Poku, William (NIH/NCI) [C]

The duplicate Label Names is intentional. There are two "labels" for Cancer in the image.

Comment entered 2022-12-28 14:03:31 by Englisch, Volker (NIH/NCI) [C]

For my information:

The following filters need to be modified:

  • CDR000050.xml - Organization QC Report Filter

  • CDR257553.xml - Glossary Term Name with Concept QC Report Filter

  • CDR430928.xml - Module: QC Filter Templates

https://github.com/NCIOCPL/cdr-server/commit/399debb

Comment entered 2023-01-11 13:21:51 by Englisch, Volker (NIH/NCI) [C]

The listed filters have been installed on DEV to remove the extra "h" character.

Comment entered 2023-01-12 09:28:50 by Kline, Bob (NIH/NCI) [C]

Looks good. Can be pushed up the tiers.

Comment entered 2023-01-19 19:43:47 by Englisch, Volker (NIH/NCI) [C]

I ran diff reports on QA confirming that no unexpected changes popped up.  The three filters have been copied to QA, STAGE, and PROD.

Please verify on PROD and close this ticket.

Comment entered 2023-01-19 20:00:42 by Kline, Bob (NIH/NCI) [C]

Perfect!

Attachments
File Name Posted User
image-2022-12-27-18-37-40-428.png 2022-12-27 18:37:43 Kline, Bob (NIH/NCI) [C]
image-2022-12-27-18-43-13-803.png 2022-12-27 18:43:16 Kline, Bob (NIH/NCI) [C]
image-2022-12-28-10-59-23-777.png 2022-12-28 10:59:26 Kline, Bob (NIH/NCI) [C]
Screen Shot 2022-12-27 at 18.59.34.png 2022-12-27 19:04:23 Englisch, Volker (NIH/NCI) [C]

Elapsed: 0:00:00.001592