Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsaunders committed Dec 21, 2022
1 parent 4fbee56 commit 28613af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/lsst/drp/tasks/gbdesAstrometricFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,12 @@ class GbdesAstrometricFitConfig(pipeBase.PipelineTaskConfig,
)
fitReserveFraction = pexConfig.Field(
dtype=float,
default=0.2,
doc="Fraction of objects to reserve from fit for validation."
)
fitReserveRandomSeed = pexConfig.Field(
dtype=int,
doc="Set the random seed for selecting data points to reserve from the fit for validate.",
doc="Set the random seed for selecting data points to reserve from the fit for validation.",
default=1234
)

Expand Down Expand Up @@ -865,6 +866,7 @@ class `wcsfit.FoFClass`, associating them into matches as you go.
for inputCatalogRef in inputCatalogRefs:
visit = inputCatalogRef.dataId['visit']
inputCatalog = inputCatalogRef.get(parameters={'columns': columns})
# Get a sorted array of detector names
detectors = np.unique(inputCatalog['detector'])

for detector in detectors:
Expand Down Expand Up @@ -907,7 +909,7 @@ def make_yaml(self, inputVisitSummary, inputFile=None):
Parameters
----------
inputVisitSummary : `lsst.afw.table.ExposureCatalog`
Catalogs with per-detector summary information.
Catalog with per-detector summary information.
inputFile : `str`
Path to a file that contains a basic model.
Expand Down

0 comments on commit 28613af

Please sign in to comment.