biolab / orange3-survival-analysis

🍊 :heavy_plus_sign: Survival Analysis add-on for Orange3 data mining suite.
GNU General Public License v3.0
2 stars 4 forks source link

[ENH] owkaplanmeier: stricter DomainModel options #8

Closed JakaKokosar closed 3 years ago

JakaKokosar commented 3 years ago
Issue

Time and Event variable selection have options that do not make sense.

Description of changes

Filter data domain before setting it as a DomainModel for time_var and event_var dropdown menu. TimeVariables and DiscreteVariables with values > 2 are excluded.

Includes
codecov-io commented 3 years ago

Codecov Report

Merging #8 (e2324a5) into master (1fe2cd3) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   93.73%   93.82%   +0.08%     
==========================================
  Files           2        2              
  Lines         351      356       +5     
==========================================
+ Hits          329      334       +5     
  Misses         22       22              
Impacted Files Coverage Δ
...contrib/survival_analysis/widgets/owkaplanmeier.py 93.75% <100.00%> (+0.09%) :arrow_up:

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 1fe2cd3...e2324a5. Read the comment docs.