Skip to content

plots: ignore binary plot files#5523

Merged
efiop merged 1 commit into
treeverse:masterfrom
pared:5490_plots_binary
Mar 1, 2021
Merged

plots: ignore binary plot files#5523
efiop merged 1 commit into
treeverse:masterfrom
pared:5490_plots_binary

Conversation

@pared
Copy link
Copy Markdown
Contributor

@pared pared commented Feb 26, 2021

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Fixes #5490

Comment thread dvc/repo/plots/__init__.py Outdated
Comment on lines 90 to 106
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We don't use warnings in metrics and params, right? If so, it is better to use debug() here too, for consistency.

@pared pared force-pushed the 5490_plots_binary branch from 6d1f52c to 6783299 Compare February 26, 2021 14:10
Comment thread tests/func/plots/test_show.py Outdated
@pared pared force-pushed the 5490_plots_binary branch from 75f33a4 to 93e07d8 Compare March 1, 2021 11:23
Comment thread tests/func/plots/test_show.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There might be a chance that this will generate something that can be decoded as text. Better to just hardcode a particular blob here. It doesn't even need to be long.

@pared pared force-pushed the 5490_plots_binary branch from 93e07d8 to 444d455 Compare March 1, 2021 12:22
@efiop efiop merged commit 92b95ba into treeverse:master Mar 1, 2021
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.

UnicodeDecodeError in plots.collect()

3 participants