Skip to content

Explicit complete_intervals=True in logical intervals + code tidy#263

Merged
taldcroft merged 2 commits intomasterfrom
explicit-logical-intevals-complete-intervals
Dec 9, 2022
Merged

Explicit complete_intervals=True in logical intervals + code tidy#263
taldcroft merged 2 commits intomasterfrom
explicit-logical-intevals-complete-intervals

Conversation

@taldcroft
Copy link
Copy Markdown
Member

Description

This adds complete_intervals=True to a key call to logical_intervals that defines the creation of kadi events. Previously this was relying on the default value of that kwarg being True. Since that default is being changed in sot/cheta#243, here we need to be explicit.

While in the code I noticed that an ugly hack of the @import_ska decorator is no long needed now that the kadi package does not provide a web server. This hack doesn't play well with IDEs (code introspection doesn't work).

Interface impacts

None.

Testing

Unit tests

  • Mac

Independent check of unit tests by [REVIEWER NAME]

  • [PLATFORM]:

Functional tests

No functional testing.

Copy link
Copy Markdown
Contributor

@javierggt javierggt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes seem good to me. At first I looked at the diffs "color-blindly" (not noticing the import_ska part was red) and started wondering why you were adding that. Was happy to realize you were removing it.

I ran the unit tests, but I would note that the unit tests would not have caught the change in eng_archive.

@taldcroft taldcroft merged commit c8288b0 into master Dec 9, 2022
@taldcroft taldcroft deleted the explicit-logical-intevals-complete-intervals branch December 9, 2022 10:53
This was referenced Jan 4, 2023
@javierggt javierggt mentioned this pull request May 17, 2023
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.

2 participants