Skip to content

Commit

Permalink
Merge pull request #74 from lsst/tickets/DM-45845
Browse files Browse the repository at this point in the history
DM-45845: Convert string lists to arrays
  • Loading branch information
cmsaunders authored Sep 23, 2024
2 parents b7c32bf + 4b662c6 commit 93b968d
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 93b968d

Please sign in to comment.