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

ValueError in lsst.afw.table.Catalog.extend()

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • afw
    • None

    Description

      from lsst.afw.table import BaseCatalog, Schema
       
      s = Schema()
      c1 = BaseCatalog(s)
      c2 = BaseCatalog(s)
       
      c1.extend(c2)

      The above fails, saying:

      Traceback (most recent call last):
        File "test.py", line 7, in <module>
          c1.extend(c2)
        File "/Users/jds/Projects/Astronomy/LSST/stack/DarwinX86/afw/10.0+3/python/lsst/afw/table/tableLib.py", line 6909, in extend
          _tableLib.BaseCatalog_extend(self, iterable, deep)
      ValueError: invalid null reference in method 'BaseCatalog_extend', argument 3 of type 'lsst::afw::table::SchemaMapper const &'

      Attachments

        Issue Links

          Activity

            No work has yet been logged on this issue.

            People

              swinbank John Swinbank
              swinbank John Swinbank
              Jim Bosch
              Dominique Boutigny, Jim Bosch, John Swinbank
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.