Skip to content

Commit

Permalink
Fix pad function
Browse files Browse the repository at this point in the history
  • Loading branch information
adonath committed Oct 17, 2023
1 parent a4d44b6 commit eff5bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/prepare-gp-model.smk
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ rule prepare_gp_model:

geom_image = cutout.geom.to_image()
width = (cutout_margin / geom_image.pixel_scales).to_value("")
geom_image_pad = geom_image.pad(pad_width=width)
geom_image_pad = geom_image.pad(pad_width=width, axis_name=None)
selection = geom_image.contains(catalog.positions)

for source in catalog[selection]:
Expand Down

0 comments on commit eff5bde

Please sign in to comment.