Skip to content

Improve plot_force and fix spec_updater #227

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

Merged
merged 7 commits into from
Mar 19, 2021
Merged

Conversation

sophietheis
Copy link
Collaborator

No description provided.

@sophietheis sophietheis linked an issue Mar 18, 2021 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #227 (2a59a55) into master (f2f0cc1) will increase coverage by 0.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #227      +/-   ##
==========================================
+ Coverage   80.74%   80.95%   +0.20%     
==========================================
  Files          85       85              
  Lines        5463     5465       +2     
==========================================
+ Hits         4411     4424      +13     
+ Misses       1052     1041      -11     
Impacted Files Coverage Δ
tyssue/draw/plt_draw.py 70.76% <100.00%> (+4.76%) ⬆️
tyssue/utils/utils.py 88.74% <100.00%> (+0.07%) ⬆️
tyssue/behaviors/sheet/delamination_events.py 65.78% <0.00%> (-7.90%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2f0cc1...2a59a55. Read the comment docs.

@glyg
Copy link
Member

glyg commented Mar 19, 2021

Just lacks a small test :)

@@ -15,7 +15,7 @@
from tyssue import Sheet, config
from tyssue.draw.plt_draw import quick_edge_draw, sheet_view
from tyssue.draw.plt_draw import _face_color_from_sequence
from tyssue.draw.plt_draw import create_gif
from tyssue.draw.plt_draw import create_gif, plot_force
Copy link
Member

Choose a reason for hiding this comment

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

it's plot_forces 😆

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's difficult to write test this morning..., I also forgot to put a test, in the test function... --'

@glyg
Copy link
Member

glyg commented Mar 19, 2021

You can add sheet.update_spec(model.specs) to have the correct columns (and a test that passes)

@glyg
Copy link
Member

glyg commented Mar 19, 2021

Fridays are hard

@glyg glyg merged commit c52ad0e into DamCB:master Mar 19, 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.

spec_updater does not add new element
2 participants