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

✨ Support auto-knitted html reports during ln.finish() #2213

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

falexwolf
Copy link
Member

@falexwolf falexwolf commented Nov 25, 2024

These auto-knitted reports come with the .nb.html suffix.

Resolves:

Considered also supporting .nb.html for the CLI but concluded that it'd be more dangerous than beneficial:

@falexwolf falexwolf changed the title ✨ Support auto-knitted html reports with .nb.html suffix during ln.fi… ✨ Support auto-knitted html reports during ln.finish() Nov 25, 2024
Copy link

codecov bot commented Nov 25, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.

Project coverage is 92.92%. Comparing base (c54f99f) to head (4580434).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
lamindb/_finish.py 78.94% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2213      +/-   ##
==========================================
+ Coverage   92.36%   92.92%   +0.55%     
==========================================
  Files          54       54              
  Lines        6566     6826     +260     
==========================================
+ Hits         6065     6343     +278     
+ Misses        501      483      -18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 25, 2024

@github-actions github-actions bot temporarily deployed to pull request November 25, 2024 11:26 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 27, 2024 11:41 Inactive
run.save()
else:
if not from_cli:
if get_seconds_since_modified(filepath) > 2 and not ln_setup._TESTING:
# this can happen when auto-knitting an html with RStudio
Copy link
Member Author

Choose a reason for hiding this comment

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

Creating a test setup for this is a bit more cumbersome, I will ship once I know this is meaningful.

@github-actions github-actions bot temporarily deployed to pull request November 29, 2024 10:39 Inactive
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.

1 participant