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

StructureViewer Download tab: pass file format explicitly #504

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

danielhollas
Copy link
Contributor

The change in #501 broke my application because it changed the file_format traitlet, on which I was relying.

I could update my app but it would be a bit complicated to support both old and new version, so I thought I'll make a small change here if that is okay with you @yakutovicha.

Incidentally, I also fixed a small bug where _prepare_payload function was called twice.

@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (413c26c) 79.42% compared to head (60923a2) 79.42%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #504   +/-   ##
=======================================
  Coverage   79.42%   79.42%           
=======================================
  Files          27       27           
  Lines        3757     3757           
=======================================
  Hits         2984     2984           
  Misses        773      773           
Flag Coverage Δ
python-3.10 79.42% <0.00%> (ø)
python-3.8 79.46% <0.00%> (ø)
python-3.9 79.46% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
aiidalab_widgets_base/viewers.py 70.93% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@yakutovicha yakutovicha left a comment

Choose a reason for hiding this comment

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

Thanks, @danielhollas - all good. I tested the changes locally and everything works fine 👍

And sorry for breaking your app 🙏

@yakutovicha yakutovicha merged commit 27ff1ba into aiidalab:master Aug 29, 2023
8 checks passed
@danielhollas danielhollas deleted the fix/download-tab branch August 29, 2023 16:27
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.

None yet

2 participants