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

Init commit of MarkdownWriter class #163

Closed
wants to merge 12 commits into from
Closed

Conversation

aditnath
Copy link
Collaborator

Creating a generic markdown writer class in the cellpack writers repo

  • New feature (non-breaking change which adds functionality)

@codecov-commenter
Copy link

codecov-commenter commented Apr 13, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (a97be56) 96.55% compared to head (74f0c58) 96.55%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #163   +/-   ##
=======================================
  Coverage   96.55%   96.55%           
=======================================
  Files          12       12           
  Lines         261      261           
=======================================
  Hits          252      252           
  Misses          9        9           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

Packing analysis report

Analysis for packing results located at cellpack/tests/outputs/test_spheres/spheresSST

ext_A 25 236.0

Packing image

Packing image

Distance analysis

Expected minimum distance: 50.00
Actual minimum distance: 50.01

ext_A Distance distribution ext_A

@aditnath aditnath marked this pull request as ready for review April 28, 2023 17:46
@aditnath aditnath requested review from mogres and rugeli April 28, 2023 17:46
@mogres
Copy link
Collaborator

mogres commented May 10, 2023

Looks like the tables are missing headers (check github bot comments on other PRs to identify missing headers)

self.report_md.new_line(
self.report_md.new_inline_image(
text=image_text[i],
path=str(self.output_path / filepaths[i])
Copy link
Collaborator

Choose a reason for hiding this comment

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

We want this to be output_image_location and not output_path. The distinction is as follows:

  1. output_image_location refers to the path used in the report to link to the image. This can be the AWS bucket path after the github workflow runs.
  2. output_path is the path to which the markdown file itself is written. This is typically the root directory where packing outputs are stored.

@aditnath aditnath force-pushed the feature/markdown_class branch from d6c96df to 4be1e5d Compare May 17, 2023 18:12
@aditnath aditnath marked this pull request as draft May 26, 2023 18:19
@rugeli rugeli mentioned this pull request Jul 23, 2024
@rugeli
Copy link
Collaborator

rugeli commented Aug 2, 2024

Issued resolved in #276

@rugeli rugeli closed this Aug 2, 2024
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.

4 participants