Skip to content

Fix #52. Fix issues with copying layers when joining 1d sequences.#53

Merged
cmeyer merged 1 commit intonion-software:masterfrom
cmeyer:fix-52-join-1d-layer-handling
Aug 18, 2025
Merged

Fix #52. Fix issues with copying layers when joining 1d sequences.#53
cmeyer merged 1 commit intonion-software:masterfrom
cmeyer:fix-52-join-1d-layer-handling

Conversation

@cmeyer
Copy link
Contributor

@cmeyer cmeyer commented Jul 24, 2025

Fixes #52.

Adds test.

Copy link
Collaborator

@Brow71189 Brow71189 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@Tiomat85 Tiomat85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one question that I am not sure of.

for display_layer in display_layers:
result_display_item.append_display_layer(display_layer)
if display_layers_list:
result_display_item.display_layers_list = display_layers_list
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this need to be a deepcopy?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. display_layers_list is a convenience function for copying display layer properties and doesn't store the new value directly.

@cmeyer cmeyer merged commit 78cbf98 into nion-software:master Aug 18, 2025
11 checks passed
@cmeyer cmeyer deleted the fix-52-join-1d-layer-handling branch August 18, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Join Sequence fails if joining two sequences of 1d data

3 participants