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

file upload bug: the precision of numbers changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Firefly
    • Labels:
      None
    • Story Points:
      4
    • Sprint:
      SUIT Sprint 2018-08, SUIT Sprint 2018-09, SUIT Sprint 2018-10, SUIT Sprint 2018-11, SUIT Sprint 2018-12, SUIT Sprint 2019-01
    • Team:
      Science User Interface

      Description

      I uploaded an IPAC table in the catalogs->upload catalog and upload menu. The precision of the numbers are changed to same precision as the numbers in the first row. That's not correct. 

      But the uploaded CSV file kept all the precision for all the numbers. 

      Both files are attached. 

      copied from  the pull request:

      This PR did not address all of the problems. It at least picks up the correct data.
      It did not preserve the exact precision.
      This is because we have a default precision when one is not given.
      There are other tickets that will address this issue. DM-15089

        Attachments

        1. allsky.tbl
          0.2 kB
        2. allsky1.csv
          0.2 kB

          Issue Links

            Activity

            Hide
            xiuqin Xiuqin Wu [X] (Inactive) added a comment -

            Workaround for now:  Make the first row data with high precision, all following rows will have the same precision. 

            Show
            xiuqin Xiuqin Wu [X] (Inactive) added a comment - Workaround for now:  Make the first row data with high precision, all following rows will have the same precision. 

              People

              Assignee:
              loi Loi Ly
              Reporter:
              xiuqin Xiuqin Wu [X] (Inactive)
              Reviewers:
              Trey Roby, Xiuqin Wu [X] (Inactive)
              Watchers:
              Cindy Wang [X] (Inactive), Emmanuel Joliet, Loi Ly, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.