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

Convert peilbeheerst notebooks to script #171

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Convert peilbeheerst notebooks to script #171

merged 1 commit into from
Oct 21, 2024

Conversation

visr
Copy link
Member

@visr visr commented Oct 21, 2024

This runs pixi run jupyter nbconvert --to script path/to/notebook.ipynb for all notebooks in src\peilbeheerst_model\. I find it much easier to refactor code when it is all in Python. But there are also some VSCode notebook bugs plaguing me, for instance scrambling imports on autoformat when I save them.

I did some minor edits afterwards, e.g. removing # In[] comments and some ipython magic that is no longer needed.

@visr visr merged commit 99e906e into main Oct 21, 2024
4 checks passed
@visr visr deleted the py branch October 21, 2024 12:12
DanielTollenaar pushed a commit that referenced this pull request Nov 13, 2024
@DanielTollenaar can the stash folder be removed now? See
8d13795

4aa3ee1 converts the remaining
notebooks just like in #171.
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