Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix/ngl annotation cols #196

Merged
merged 11 commits into from
Feb 18, 2024
Merged

Fix/ngl annotation cols #196

merged 11 commits into from
Feb 18, 2024

Conversation

jefferis
Copy link
Collaborator

a selection of fixes / doc enhancement for annotation layers

* ensure col2hex has named return value
* add tests
* was making a table and assuming that the colours and layers would always be on the diagonal
  but they don't have to be if the sort order is different
* the test for correct behaviour is rather longer than the fix ...
* so we can use the subsetting operations elsewhere
* just so there's less noise during testing
* this is more flexible
* with test
* this was a problem if we specific layers without colpal (which is a reasonable thing to do)
* with a warning
* it seems that this is necessary for annotation layers
* it also seems to be the default for neuron layers
* annotation layer colours were ignored when upper case
Copy link

codecov bot commented Feb 18, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (6d88e89) 54.38% compared to head (99980a2) 56.59%.
Report is 2 commits behind head on master.

Files Patch % Lines
R/ng-annotations.R 63.63% 4 Missing ⚠️
R/ids.R 71.42% 2 Missing ⚠️
R/autosyn.R 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
+ Coverage   54.38%   56.59%   +2.20%     
==========================================
  Files          38       38              
  Lines        4773     4787      +14     
==========================================
+ Hits         2596     2709     +113     
+ Misses       2177     2078      -99     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jefferis jefferis merged commit 6dbbe8d into master Feb 18, 2024
5 checks passed
@jefferis jefferis deleted the fix/ngl_annotation_cols branch February 18, 2024 15:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant