-
Notifications
You must be signed in to change notification settings - Fork 0
Add code to make formation/breakdown supp movie #50
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
Conversation
…text, add timestamp function and add function for the movie specific df creation
| # the height is 5% of the axes height | ||
|
|
||
| ax.plot([x, x2], [y, y], color="w", linewidth=2) | ||
| ax.plot([x, x2], [y + 3, y + 3], color="w", linewidth=2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this change made? Won't it affect other panels in Figure1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I see now that this is just the scale bar location which is not critically important. I'll approve :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes for me this was placing the scale bar with the micron symbol and the scalebar touching/overlapping and I wanted a physical space between them
Purpose
This code creates the new Supp Movie S6 which pairs with Figure 1F (shown below). It shows the sample nucleus cropped images from two frames before formation to two frames after breakdown, with segmentation outline shown for all interphase frames (just like 1F).
Output
Here's an example of a frame from this movie:

Notes about how the code was written
To make the movie I reused all the pieces I could from the Fig 1F code, including moving the AxesCreator class to
figure_helper.pyso it could be reused. There are some aspects of the new script to make the movie that are copies of pieces of the 1F workflow but I decided that at this point starting to actually pull the 1F workflow apart to make reusable functions for this was not worth it. Happy to revisit in the future.NOTE: This workflow takes hours to run. This PR was purposely does not add the movie making workflow to
figure_1_workflow.py- otherwise it would run every time we run/testrun_all_manuscript_workflows.pyand because this takes hours to run, that is too disruptive to be worth it.Testing
Aside from the new workflow it generates these code changes only impact figure 1 workflow code
figure_1_workflow.pystill runs and produces the old/expected output