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

Change LSSTCatalogSearch 's behavior to the same as IRSA's catalog search

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:
    • Templates:
    • Story Points:
      1
    • Sprint:
      SUIT Sprint 2017-3, SUIT Sprint 2017-4
    • Team:
      Science User Interface

      Description

      When the search result in IRSA catalog search is empty, the IRSA catalog search shows the table with empty row data. The LSSTCatalogSearch returns the message with "no data found". I think that the behaviors in two catalog searches should be consistent.

      Since the meta server is not available, the data definitions are obtained from the search result. When there no data is available, there is no data type definition either. The current implementation threw an exception when the empty table is returned from the PDA search. But for multi-object search, the exception will stop further searches for the other object. For now, it is modified as below:

      1. Let getDataFromUR return null if the result is empty
      2. When the PDA search returns empty, the exception in LSSTCatalogSearch is deferred at the loadFile
      3. In LSSTMutliObjectSearch, when one of the callable returns empty result, it will be skipped. Thus, all targets in the input file will be searched.

      NOTE:
      When the meta server is working, the above implementation will be changed accordingly. So is the meta definition in LSSTQuery.

        Attachments

          Activity

            People

            • Assignee:
              zhang Lijun Zhang [X] (Inactive)
              Reporter:
              zhang Lijun Zhang [X] (Inactive)
              Reviewers:
              Loi Ly, Trey Roby
              Watchers:
              Lijun Zhang [X] (Inactive), Loi Ly, Trey Roby, Xiuqin Wu [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel