=================================== FAILURES ===================================
|
JointcalTestDECAM.test_jointcalTask_2_visits_constrainedAstrometry_no_photometry
|
[gw3] linux -- Python 3.6.6 /j/ws/stack-os-matrix/centos-7.devtoolset-6.py3/lsstsw/miniconda/envs/lsst-scipipe/bin/python3.6
|
|
self = <test_jointcal_decam.JointcalTestDECAM testMethod=test_jointcalTask_2_visits_constrainedAstrometry_no_photometry>
|
|
def test_jointcalTask_2_visits_constrainedAstrometry_no_photometry(self):
|
relative_error, pa1, metrics = self.setup_jointcalTask_2_visits_constrainedAstrometry_no_photometry()
|
|
> self._testJointcalTask(2, relative_error, self.dist_rms_absolute, pa1, metrics=metrics)
|
|
tests/test_jointcal_decam.py:109:
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
tests/jointcalTestBase.py:134: in _testJointcalTask
|
result = self._runJointcalTask(nCatalogs, caller, metrics=metrics)
|
tests/jointcalTestBase.py:180: in _runJointcalTask
|
result = jointcal.JointcalTask.parseAndRun(args=args, doReturnResults=True, config=self.config)
|
../../stack/Linux64/pipe_base/16.0-11-g9fe0e56+9/python/lsst/pipe/base/cmdLineTask.py:598: in parseAndRun
|
parsedCmd = argumentParser.parse_args(config=config, args=args, log=log, override=cls.applyOverrides)
|
../../stack/Linux64/pipe_base/16.0-11-g9fe0e56+9/python/lsst/pipe/base/argumentParser.py:634: in parse_args
|
self._applyInitialOverrides(namespace)
|
../../stack/Linux64/pipe_base/16.0-11-g9fe0e56+9/python/lsst/pipe/base/argumentParser.py:832: in _applyInitialOverrides
|
namespace.config.load(filePath)
|
../../stack/Linux64/pex_config/16.0-3-g9645794+3/python/lsst/pex/config/config.py:543: in load
|
self.loadFromStream(stream=code, root=root)
|
../../stack/Linux64/pex_config/16.0-3-g9645794+3/python/lsst/pex/config/config.py:563: in loadFromStream
|
exec(stream, {}, local)
|
../../stack/Linux64/obs_decam/tickets.DM-15606-g8e0a9334c4/config/jointcal.py:1: in <module>
|
config.astrometryRefObjLoader.ref_dataset_name = 'ps1_pv3_3pi_20170110'
|
../../stack/Linux64/pex_config/16.0-3-g9645794+3/python/lsst/pex/config/configurableField.py:122: in __setattr__
|
self._value.__setattr__(name, value, at=at, label=label)
|
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
|
self = lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsConfig(pixelMargin=300, defaultFilter='', filterMap={})
|
attr = 'ref_dataset_name', value = 'ps1_pv3_3pi_20170110'
|
at = [StackFrame(<string>, 1, <module>), StackFrame(<string>, 1539, <module>), StackFrame(<string>, 1534, serve), StackFram..., 1047, serve), StackFrame(<string>, 259, integrate_as_primary_thread), StackFrame(<string>, 277, _perform_spawn), ...]
|
label = 'assignment'
|
|
def __setattr__(self, attr, value, at=None, label="assignment"):
|
"""!Regulate which attributes can be set
|
|
Unlike normal python objects, Config objects are locked such
|
that no additional attributes nor properties may be added to them
|
dynamically.
|
|
Although this is not the standard Python behavior, it helps to
|
protect users from accidentally mispelling a field name, or
|
trying to set a non-existent field.
|
"""
|
if attr in self._fields:
|
if at is None:
|
at = getCallStack()
|
# This allows Field descriptors to work.
|
self._fields[attr].__set__(self, value, at=at, label=label)
|
elif hasattr(getattr(self.__class__, attr, None), '__set__'):
|
# This allows properties and other non-Field descriptors to work.
|
return object.__setattr__(self, attr, value)
|
elif attr in self.__dict__ or attr in ("_name", "_history", "_storage", "_frozen", "_imports"):
|
# This allows specific private attributes to work.
|
self.__dict__[attr] = value
|
else:
|
# We throw everything else.
|
> raise AttributeError("%s has no attribute %s" % (_typeStr(self), attr))
|
E AttributeError: lsst.meas.algorithms.loadReferenceObjects.LoadReferenceObjectsConfig has no attribute ref_dataset_name
|
Hsin-Fang Chiang has the scripts for running jointcal on RC2.
And I don't know what appropriate defaults are: I think the correct thing is to go with whatever Hsin-Fang Chiang did for her recent run. There's no reason jointcal can't use the same reference catalog defaults as single frame processing for both the astrometry and photometry refcats, for now. If we have gaia, we should maybe use that for astrometry (it doesn't have appropriate photometry yet).