Skip to content

[FIX] Replace colorpalette and other necessary fixes #314

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

Merged
merged 6 commits into from
Oct 14, 2022

Conversation

PrimozGodec
Copy link
Collaborator

@PrimozGodec PrimozGodec commented Sep 13, 2022

Issue

Annotator use colorpalette which is deprecated biolab/orange3#6135
Because of changes in Orange (mostly Table lock), some widgets/tests do not work.

Description of changes

Use colorpalettes module instead
Necessary fixes for widgets/tests to work:

  • handle table locking where necessary
  • changing effective_data to match other widgets (and I think it is now more correct than before). It was necessary to fix it due to a failing test caused by the change in core Orange. If I understand effective_data correctly, are those data currently plotted as x and y, and if they do not change, replot is unnecessary.
Includes
  • Code changes
  • Tests
  • Documentation

@PrimozGodec PrimozGodec force-pushed the colorpalettes branch 2 times, most recently from 2e384b6 to b0d22b7 Compare September 14, 2022 10:27
@PrimozGodec PrimozGodec changed the title Annotator - replace deprecated colorpalette with colorpalettes [FIX] Replace colorpalette and other necessary fixes Sep 14, 2022
@PrimozGodec PrimozGodec force-pushed the colorpalettes branch 5 times, most recently from 1deceb5 to 6dc952f Compare September 27, 2022 06:49
@PrimozGodec PrimozGodec force-pushed the colorpalettes branch 2 times, most recently from e5e975b to 5b9be1a Compare September 29, 2022 14:55
@codecov-commenter
Copy link

Codecov Report

Merging #314 (5b9be1a) into master (0cfc9d4) will increase coverage by 0.46%.
The diff coverage is 77.61%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #314      +/-   ##
==========================================
+ Coverage   48.51%   48.98%   +0.46%     
==========================================
  Files          63       63              
  Lines       10765    10797      +32     
==========================================
+ Hits         5223     5289      +66     
+ Misses       5542     5508      -34     
Impacted Files Coverage Δ
...ontrib/bioinformatics/widgets/OWDatabasesUpdate.py 0.00% <0.00%> (ø)
...ib/bioinformatics/widgets/OWGenialisExpressions.py 60.33% <33.33%> (-1.15%) ⬇️
orangecontrib/bioinformatics/widgets/OWGenes.py 83.76% <77.77%> (+0.09%) ⬆️
orangecontrib/bioinformatics/geo/__init__.py 100.00% <100.00%> (ø)
orangecontrib/bioinformatics/kegg/caching.py 59.32% <100.00%> (ø)
orangecontrib/bioinformatics/ncbi/gene/__init__.py 97.95% <100.00%> (+0.01%) ⬆️
...rangecontrib/bioinformatics/ncbi/taxonomy/utils.py 91.11% <100.00%> (ø)
...angecontrib/bioinformatics/preprocess/normalize.py 84.61% <100.00%> (+1.28%) ⬆️
...rib/bioinformatics/widgets/OWAnnotateProjection.py 93.92% <100.00%> (+7.33%) ⬆️
orangecontrib/bioinformatics/widgets/OWHomologs.py 77.63% <100.00%> (+0.13%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d34610...5b9be1a. Read the comment docs.

@JakaKokosar JakaKokosar merged commit 0f86725 into biolab:master Oct 14, 2022
@PrimozGodec PrimozGodec deleted the colorpalettes branch October 14, 2022 11:32
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.

4 participants