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

Replace deprecated convert_to_dataset() with time_as_observations() #410

Merged

Conversation

qian-chu
Copy link
Contributor

@qian-chu qian-chu commented Jul 30, 2024

TemporalDataset.convert_to_dataset() method got deprecated and replaced by TemporalDataset.time_as_observations() in #295. Yet convert_to_dataset() was still called on several occasions including calc_rdm_movie() and tests and demos. I replaced all such occurances to avoid triggering warnings.

Copy link
Contributor

@JasperVanDenBosch JasperVanDenBosch left a comment

Choose a reason for hiding this comment

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

Great, thanks @qian-chu this looks good. I'll let @HeikoSchuett decide whether we merge this now or later this week since we're planning for the next release.

@HeikoSchuett
Copy link
Contributor

Thank you @qian-chu . This is certainly a sensible change and I don't seem any reason to wait. I'll merge this now.

@HeikoSchuett HeikoSchuett merged commit 08143ff into rsagroup:main Aug 1, 2024
22 checks passed
@qian-chu qian-chu deleted the calc_rdm_movie_time_observations branch August 1, 2024 12:14
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.

3 participants