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

Better error message required for no input data

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_drivers
    • Labels:
      None
    • Team:
      Architecture

      Description

      When running the `construct*.py` scripts, if there is no input data (e.g. when the ingest has failed), the error one gets tends to be a division by zero from the zero-length of the refList. This is more confusing to newbies and people unfamiliar with this part of the stack that one might expect, and is worth fixing I think. A simple check that one isn't operating on no data before going ahead should suffice I think.

        Attachments

          Activity

          No work has yet been logged on this issue.

            People

            Assignee:
            ktl Kian-Tat Lim
            Reporter:
            mfisherlevine Merlin Fisher-Levine
            Reviewers:
            Merlin Fisher-Levine
            Watchers:
            Kian-Tat Lim, Merlin Fisher-Levine
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.