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

Fixing warning always showing up. #693

Merged
merged 3 commits into from
Mar 16, 2023
Merged

Conversation

EmmaRenauld
Copy link
Contributor

If you set sft.data_per_point = None, internally, this is converted to an empty PerArraySequenceDict. So checks of
if sft.data_per_point is not None are always triggered. Fixing.

@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

1 similar comment
@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

Copy link
Contributor

@arnaudbore arnaudbore left a comment

Choose a reason for hiding this comment

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

I suggested something lighter and should behave the same.

scilpy/utils/streamlines.py Outdated Show resolved Hide resolved
scilpy/tracking/tools.py Outdated Show resolved Hide resolved
EmmaRenauld and others added 2 commits March 16, 2023 11:11
Co-authored-by: arnaudbore <arnaud.bore@gmail.com>
Co-authored-by: arnaudbore <arnaud.bore@gmail.com>
@arnaudbore arnaudbore self-requested a review March 16, 2023 15:40
@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

1 similar comment
@arnaudbore
Copy link
Contributor

Build passed ! Good Job 🍻 !

@arnaudbore arnaudbore merged commit bb5c4cb into scilus:master Mar 16, 2023
@EmmaRenauld EmmaRenauld deleted the fix_warning branch April 6, 2023 14:09
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