Skip to content

[ENH] Save painted data to schema#1452

Merged
BlazZupan merged 3 commits intobiolab:masterfrom
astaric:schema-only-settings
Jul 13, 2016
Merged

[ENH] Save painted data to schema#1452
BlazZupan merged 3 commits intobiolab:masterfrom
astaric:schema-only-settings

Conversation

@astaric
Copy link
Member

@astaric astaric commented Jul 13, 2016

Introduce a concept of schema only setting - a setting that does not update its defaults, but is still saved with schema.

Use schema only setting to store painted points in PaintData widget.

Fixes #1451

@codecov-io
Copy link

codecov-io commented Jul 13, 2016

Current coverage is 87.91%

Merging #1452 into master will not change coverage

@@             master      #1452   diff @@
==========================================
  Files            77         77          
  Lines          7582       7582          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           6666       6666          
  Misses          916        916          
  Partials          0          0          

Sunburst

Powered by Codecov. Last updated by 7a6c034...48a47d6

@BlazZupan
Copy link
Contributor

Works great, thanks! Tiny bug: paint the data, set Send to Send Automatically, connect scatter plot to Paint Data, save the workflow. Open the saved worflow, the data is in Paint Data, but although Send Automatically is on the data has not been sent out from the widget (scatter plot is empty).

@astaric astaric force-pushed the schema-only-settings branch from 63bb169 to e92ff85 Compare July 13, 2016 08:57
@BlazZupan
Copy link
Contributor

Perhaps while fixing the bug above, there is another one somehow related: after Undo, this widget does not commit the data when Send Automatically is on.

astaric added 2 commits July 13, 2016 11:29
Schema_only settings are saved in schema, but do not change their
default values, so new widget always start with the same (empty) default
value.
@astaric astaric force-pushed the schema-only-settings branch from e92ff85 to 0e85a3b Compare July 13, 2016 09:30
Remove invalidate in newtool.editingFinished to avoid sending the data
twice.
@BlazZupan BlazZupan merged commit d0d9b84 into biolab:master Jul 13, 2016
@astaric astaric deleted the schema-only-settings branch September 8, 2017 08:36
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