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

if the {rpfy}: string is in a separate paragraph from the figure, it … #6

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

mduncans
Copy link
Collaborator

…was not being removed. Updated remove_figure to search the paragraph with {rpfy}: remove the drawing if it's there, if not go to the next paragraph and remove it there if it exists. Additionally, table1_format argument was not being passed from save_rds_with_metadata/write_csv_with_metadata to write_object_metadata.

v0.2.3: Table1 formatting was not applied
image (2)
v0.2.4: Table1 formatting is correctly applied
image (3)

The following figure would not be removed due to {rpfy}: string being in different paragraph.
Screenshot 2024-11-13 at 8 25 52 AM
Screenshot 2024-11-13 at 8 29 25 AM
The update successfully removes this figure.
Screenshot 2024-11-13 at 8 31 15 AM

…was not being removed. Updated remove_figure to search the paragraph with {rpfy}: remove the drawing if it's there, if not go to the next paragraph and remove it there if it exists. Additionally, table1_format argument was not being passed from save_rds_with_metadata/write_csv_with_metadata to write_object_metadata.
Copy link
Collaborator

@jacobdum jacobdum left a comment

Choose a reason for hiding this comment

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

Much needed inclusions for both saving functions

Good catch on the add_tables too

@jacobdum jacobdum merged commit a235689 into main Nov 13, 2024
3 checks passed
@mduncans mduncans deleted the figure_update branch November 30, 2024 01:32
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