Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue583 #584

Merged
merged 4 commits into from Feb 16, 2024
Merged

Issue583 #584

merged 4 commits into from Feb 16, 2024

Conversation

mariusbarth
Copy link
Collaborator

Hi @crsh,

so this is an attempt at fixing what has been described in issue #583.

  • I added a test for row names in expect_apa_results() to protect against future glitches.
  • Row names are not added to the results table, anymore.
  • The term names are now consistently constructed via sanitize_terms().
  • sanitize_terms() now always replaces multiple consecutive underscores with a single underscore.

In addition to what I implemented here, we could consider sanitize_terms() to always remove leading underscores.

Copy link
Owner

@crsh crsh left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@crsh
Copy link
Owner

crsh commented Feb 16, 2024

Regarding your suggestion on sanitize_terms(), I think this would make sense. If you want to add this to this PR, feel free and also feel free to merge.

- always remove leading underscores
@mariusbarth mariusbarth merged commit 06fd205 into main Feb 16, 2024
0 of 5 checks passed
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.

None yet

2 participants