Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-13165

LDM-294 component table incorrectly generated: .csv parsing error

    XMLWordPrintable

    Details

    • Team:
      System Management

      Description

      The parsing of the productlist.csv file in the LDM-294 repo appears to be broken when an entry in the input data contains a comma as part of the value.

      This affects the PRTLINTF ("Portal Interfaces") row, and causes, e.g., "user workspace" and "identity management" to appear in spurious positions in the resulting LaTeX output. (Compare productlist.tex with productlist.csv.)

      The effect is also visible in the tree figure generated (a spurious "user workspace" appears in place of the WBS in the "Portal Interfaces" bubble).

      (Provisionally assigned to Jonathan Sick in light of DM-13140; Wil O'Mullane is the apparent original author of the Python program that does the parsing.)

        Attachments

          Issue Links

            Activity

            Hide
            womullan Wil O'Mullane added a comment -

            I did specify NO commas inside fields in a a CSV ! THat said there is a better python parser which handles fields wihtin "" contianins commas.
            But the fix for this is is easy - if you modify the file do not put commas in field values.

            Show
            womullan Wil O'Mullane added a comment - I did specify NO commas inside fields in a a CSV ! THat said there is a better python parser which handles fields wihtin "" contianins commas. But the fix for this is is easy - if you modify the file do not put commas in field values.
            Hide
            womullan Wil O'Mullane added a comment -

            in 12088 branch I now use the Python CSV module - this handles "itema,itemb", Item c correctly

            Show
            womullan Wil O'Mullane added a comment - in 12088 branch I now use the Python CSV module - this handles "itema,itemb", Item c correctly

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              gpdf Gregory Dubois-Felsmann
              Watchers:
              Gregory Dubois-Felsmann, Kian-Tat Lim, Tim Jenness, Wil O'Mullane, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.