-
Notifications
You must be signed in to change notification settings - Fork 317
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
Header not Compatible with Kernel Language #1820
Comments
The header shouldn't be include automatically. This command includes the following line in nbgrader_config.py: You can either comment/remove the config line in nbgrader_config.py file, or change the header notebook to something working with Scala. |
Dear @brichet, Thank you for your swift reply, it was indeed my mistake, I hadn't realised that nbrader quickstart was generating it's own config file which was overriding the one I had provided. The issue is now solved. Many thanks ! |
Operating system
nbgrader --version
jupyterhub --version
(if used with JupyterHub)jupyter lab --version
Expected behavior
When an instructor generates the student version of an assignement, the generated version should not have an additional useless cell with python syntax based variable definitions,
Actual behavior
When instructor generates student version via formgrader, even without having such a cell, nbgrader's pipeline adds that cell at some point.
Steps to reproduce the behavior
Create example scala notebook using the deployment at this link :
Accessing grader shared notebook server to create assignement,
When the user fetches it, the cell is there,
It of course does not compile as it is not valid scala code.
When user submits it and instructor autogrades, we get a compilation error. Same when student validates his notebook.
How can we modify / remove the appending of that header cell for it to work with Scala ? Note that I would also like to keep this
behavior for Python kernels.
Many thanks,
Gordon
The text was updated successfully, but these errors were encountered: