-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/markdown class #276
Conversation
…ture/markdown-class
…ture/markdown-class
0ff5204
to
bcab5b4
Compare
Note: This is a WIP. I'll request reviews once the images and markdown file formatting are adjusted. |
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.
Very nice updates! The output report in the PR comment also looks accurate.
@@ -431,3 +435,108 @@ def save( | |||
self.save_as_simularium(env, seed_to_results_map) | |||
else: | |||
print("format output " + output_format + " not recognized (json,python)") | |||
|
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.
Do we want this in __init__.py
? I feel like this could be moved to a separate file MarkdownWriter.py
in the same folder
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.
good point, fixed!
|
||
with open(report_path, "r") as f: | ||
report = f.read() | ||
assert "Test Image" in report |
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.
This is very cool!
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.
this looks great!
Problem
What is the problem this work solves, including
closes #135
Solution
What I/we did to solve this problem
MarkdownWriter
that writes markdown files (incorporating some old code from Init commit of MarkdownWriter class #163)Type of change
Please delete options that are not relevant.
Steps to Verify:
MarkdownWriter
pytest cellpack/tests/test_markdown_writer.py