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

[FIX] Edit Domain - set have_time and have_date to time variables #6324

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

PrimozGodec
Copy link
Contributor

Issue

When transforming continuous variable to time, Edit Domain does not set have_time and have_date attributes.
Fixes #5648

Description of changes

Set to mentioned attributes when transforming Continuous to TimeVariable

Additionally, when implementing #5819, it was agreed that CountinousVariable always transforms to Time as UNIX epoch (seconds from 1970-01-01). Still format selection dropdown remained active, which can confuse the user. In this PR, I lock the format selection dropdown when transforming ContinousVariable (and TimeVariable - which was done already before).

Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Merging #6324 (856a5b7) into master (3d8ae07) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6324   +/-   ##
=======================================
  Coverage   87.48%   87.49%           
=======================================
  Files         316      316           
  Lines       67984    67984           
=======================================
+ Hits        59475    59480    +5     
+ Misses       8509     8504    -5     

@janezd janezd self-assigned this Feb 10, 2023
@janezd janezd merged commit 08b97ad into biolab:master Feb 10, 2023
@PrimozGodec PrimozGodec deleted the edit-domain-time branch February 10, 2023 09:16
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.

Select Rows with TimeVariable fails
2 participants