Skip to content

Commit 2b8a41a

Browse files
Update lephare.py
1 parent ce05247 commit 2b8a41a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rail/estimation/algos/lephare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def _process_chunk(self, start, end, data, first):
236236
# Set the desired offsets estimate config overide lephare config overide inform offsets
237237
if self.config["use_inform_offsets"] and self.model["offsets"] is not None:
238238
offsets = self.model["offsets"]
239-
self.lephare_config["APPLY_SYSSHIFT"] = ",".join(offsets)
239+
self.lephare_config["APPLY_SYSSHIFT"] = ",".join([str(o) for o in offsets])
240240
output, photozlist = lp.process(self.lephare_config, input)
241241
ng = data[self.config.bands[0]].shape[0]
242242
# Unpack the pdfs for galaxies

0 commit comments

Comments
 (0)