Testing the latest lsstsw version with lsst_dm_stack_demo

I (finally) got permission to install the LSST Stack in a CentOS 7 VM here at STScI. I’ve followed the instructions for building with lsstsw because I believe this is the way to get access to the latest iteration of the deblender code (please correct me if I’m wrong!). When I get to the demo part of the instructions (https://pipelines.lsst.io/install/demo.html), I run into a problem with the comparison:

$ ./bin/compare detected-sources_small.txt
Failed (1 of 4238 flags do not match) in column id.
Traceback (most recent call last):
  File "./bin/compare", line 176, in <module>
    if compareWithNumPy(args.filename, args.reference, args.tolerance):
  File "./bin/compare", line 112, in compareWithNumPy
    absDiff, relDiff = difference(table1[name], table2[name])
  File "./bin/compare", line 64, in difference
    absDiff = np.abs(arr1 - arr2)
ValueError: operands could not be broadcast together with shapes (4238,) (4200,)

It looks like my version of the stack and the one used to make the v. 12.0 demo expected file have diverged somehow. Is this expected / safe to ignore?

Yes, if you are using lsstsw to build the bleeding edge you also need to be using the demo from Github using the current master and not the v12.0 demo.

Great, thanks for the confirmation. I looked at the modification dates on those files and thought they preceded the v. 12.0 release, so I wanted to make sure.

That is to say, it works with GitHub master. :slight_smile:

1 Like