Skip to content

fix get_polarisation passing bytestring to check_polarisation#35

Merged
DanPorter merged 1 commit into
mainfrom
nl/fix-polarisation-not-recognised
May 22, 2026
Merged

fix get_polarisation passing bytestring to check_polarisation#35
DanPorter merged 1 commit into
mainfrom
nl/fix-polarisation-not-recognised

Conversation

@NatLeung96
Copy link
Copy Markdown
Collaborator

The issue was that hdf5 stores strings as bytestrings which needs decoding

@NatLeung96 NatLeung96 linked an issue May 15, 2026 that may be closed by this pull request
@NatLeung96 NatLeung96 marked this pull request as ready for review May 18, 2026 07:54
@NatLeung96 NatLeung96 requested a review from DanPorter May 18, 2026 07:54
Copy link
Copy Markdown
Collaborator

@DanPorter DanPorter left a comment

Choose a reason for hiding this comment

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

Thanks @NatLeung96, please use bytes2str to make this more general.

Comment thread mmg_toolbox/utils/polarisation.py Outdated
@NatLeung96 NatLeung96 force-pushed the nl/fix-polarisation-not-recognised branch from 4a45970 to 5ab8c8d Compare May 18, 2026 10:54
@NatLeung96 NatLeung96 requested a review from DanPorter May 18, 2026 10:55
Copy link
Copy Markdown
Collaborator

@DanPorter DanPorter left a comment

Choose a reason for hiding this comment

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

That should do it!

@DanPorter DanPorter merged commit 8103f90 into main May 22, 2026
10 checks passed
@DanPorter DanPorter deleted the nl/fix-polarisation-not-recognised branch May 22, 2026 13:34
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.

polarisation 'pc' not recognised on i06

2 participants