Skip to content

Commit

Permalink
Fix metadata of new layer after applying transform
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasmarnold committed Nov 27, 2023
1 parent 1a60b60 commit ccc8941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/affinder/apply_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def apply_affine(
layertype = 'image'
ref_metadata = {
n: getattr(reference_layer, n)
for n in ['scale', 'translate', 'rotate', 'shear']
for n in ['scale', 'translate', 'rotate', 'shear', 'affine']
}
mov_metadata = moving_layer.as_layer_data_tuple()[1]
name = {'name': moving_layer.name + '_transformed'}
Expand Down

0 comments on commit ccc8941

Please sign in to comment.