CDR Tickets

Issue Number 4997
Summary Modify XML software to exclude ResponseToComment elements
Created 2021-06-23 07:22:35
Issue Type Task
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2021-08-25 15:03:22
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.292691
Description

Please modify the software for preparing XML of summary documents for export into Trados/World server to remove ResponseToComment elements from the generated XML.

Comment entered 2021-06-25 08:56:09 by Kline, Bob (NIH/NCI) [C]

Are you sure the software isn't already stripping Comment elements already? If not, examples please. Moving to Ohm because stripping of ResponseToComment elements will need to be added to the script.

Comment entered 2021-07-14 10:49:19 by Osei-Poku, William (NIH/NCI) [C]

We reviewed a few recent XML files and only found examples of ResponseToComment being included. So, it looks like Comment elements are already being excluded. I will update the ticket accordingly.

Comment entered 2021-08-24 14:30:51 by Englisch, Volker (NIH/NCI) [C]

I've made the requested changes to the following script:

  • get-english-summary.py

Now I just have to find out how I could test/run these changes.  Is it called from within XMetaL?

Comment entered 2021-08-24 14:48:57 by Kline, Bob (NIH/NCI) [C]

You just invoke https://cdr-dev.cancer.gov/cgi-bin/cdr/get-english-summary.py. The user who invokes this has it bookmarked, as there has never been a request that it be installed in the admin menus.

Comment entered 2021-08-24 14:54:08 by Osei-Poku, William (NIH/NCI) [C]

Yes that is the link and  I was going to post the link but Bob was faster. I will create a ticket to have it added to the menu.

Comment entered 2021-08-25 15:03:12 by Englisch, Volker (NIH/NCI) [C]

This change is ready for review on DEV.

Comment entered 2022-02-14 09:07:53 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

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

Verified on QA. Thanks!

Elapsed: 0:00:00.001598