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

Change Usability Key #15

Merged
merged 4 commits into from
Nov 9, 2023
Merged

Change Usability Key #15

merged 4 commits into from
Nov 9, 2023

Conversation

theHenks
Copy link
Collaborator

@theHenks theHenks commented Nov 8, 2023

The usability key in the metadata has different meaning and treating it static as "on" = true is not enough since some channels have no_psd and ac and have to be processed anyhow. Changed this field to be a Symbol so that different selections can be performed.
image

@oschulz
Copy link
Contributor

oschulz commented Nov 9, 2023

Can you have a look at the test? They should pass except on Windows (tests are currently broken on Win, we need to fix that separately).

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
src/legend_data.jl 59.25% <ø> (ø)

📢 Thoughts on this report? Let us know!

@theHenks
Copy link
Collaborator Author

theHenks commented Nov 9, 2023

I edited the tests. Should work now. You can now not check the usability anymore with $usability and you get a bool return.
You have to explicitly state a usability state such as :on or :no_psd etc.
I think it is ready to merge.

@oschulz oschulz merged commit 7e691b3 into legend-exp:main Nov 9, 2023
9 of 10 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.

2 participants