Skip to content

Conversation

@SimonHeybrock
Copy link
Member

Prepare for deprecation of DataArray.attrs.

The previous use of attrs that plopp cared about has anyway been changed previously: Unaligned coordinates are already stored in coords with unset alignment flag since Scipp 23.07. Therefore, I expect that this change has little impact.

@SimonHeybrock SimonHeybrock marked this pull request as draft August 30, 2023 10:51
@SimonHeybrock
Copy link
Member Author

Depends on scipp/scipp#3231 and a release thereof.

@nvaytet
Copy link
Member

nvaytet commented Sep 5, 2023

This will mean that old code that uses attrs would potentially not work anymore.
Do we just then rely on users installing an older version of Plopp to get this to work?

@nvaytet nvaytet closed this Sep 5, 2023
@nvaytet nvaytet reopened this Sep 5, 2023
@SimonHeybrock
Copy link
Member Author

This will mean that old code that uses attrs would potentially not work anymore. Do we just then rely on users installing an older version of Plopp to get this to work?

If you refer to Scipp older than 23.07, then yes. If they have at least 23.07 it should work.

@SimonHeybrock SimonHeybrock marked this pull request as ready for review September 5, 2023 13:23
@SimonHeybrock SimonHeybrock merged commit a389b1f into main Sep 5, 2023
@SimonHeybrock SimonHeybrock deleted the remove-attrs-use branch September 5, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants