Skip to content

Commit

Permalink
Convert string lists to arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsaunders committed Sep 20, 2024
1 parent b7c32bf commit 4b662c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/lsst/drp/tasks/gbdesAstrometricFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,9 @@ def run(
inputCamera=(inputCamera if self.config.buildCamera else None),
)
outputCatalog = wcsf.getOutputCatalog()
outputCatalog["exposureName"] = np.array(outputCatalog["exposureName"])
outputCatalog["deviceName"] = np.array(outputCatalog["deviceName"])

starCatalog = wcsf.getStarCatalog()
modelParams = self._compute_model_params(wcsf) if self.config.saveModelParams else None

Expand Down Expand Up @@ -2434,6 +2437,9 @@ def run(
inputCamera=(inputCamera if self.config.buildCamera else None),
)
outputCatalog = wcsf.getOutputCatalog()
outputCatalog["exposureName"] = np.array(outputCatalog["exposureName"])
outputCatalog["deviceName"] = np.array(outputCatalog["deviceName"])

starCatalog = wcsf.getStarCatalog()
modelParams = self._compute_model_params(wcsf) if self.config.saveModelParams else None

Expand Down

0 comments on commit 4b662c6

Please sign in to comment.