Skip to content

Issue with nbconvert #859

Closed Answered by chrispyles
RWillisConger asked this question in Q&A
Oct 14, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Resolved on Slack.

For anyone who finds this thread, the issue was that none of the questions were marked as manually-graded (manual: true in question config), so when filtering the notebook for PDF export (which is the default behavior), there were no cells left to include in the PDF.

Solution is either to a) mark relevant cells with manual: true, b) set export_cell: filtering: false in the assignment config, or c) if the notebook has already been sent to students, if this is a notebook you’ve already sent out to students, you can tell them to add a new cell at the bottom with

grader.export(run_tests=True, filtering=False)

and run that instead of the one already in the notebook. (Otter m…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RWillisConger
Comment options

@chrispyles
Comment options

Answer selected by chrispyles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants