Skip to content

Make tutorial generic for master branch#1

Open
svalat wants to merge 9 commits intoidefix-code:masterfrom
svalat:feature/pre-master-branch
Open

Make tutorial generic for master branch#1
svalat wants to merge 9 commits intoidefix-code:masterfrom
svalat:feature/pre-master-branch

Conversation

@svalat
Copy link
Copy Markdown

@svalat svalat commented Mar 23, 2026

Content

  • Remove references to Jureca
  • Use relative paths instead of absolute to access idefix sources. (maybe can also use IDEFIX_DIR in place of ../idefix.src but it force to define it before starting jupyter).
  • Add striping command to remove the results from the notebooks (to call before commit).
  • Fix some t => t[0] due to changes in the Idefix API.

Question

Not being an expert of Jupyter, I'm not sure what is the best to say for meta-data removal in stripping script. Should we also remove the ref to python/ipython in the notebook files (--ClearMetadataPreprocessor.enabled=True)? In this case it asks which python to use when opening the notebook.

I would say let as it is now (False).

@smaret
Copy link
Copy Markdown

smaret commented Mar 24, 2026

Not being an expert of Jupyter, I'm not sure what is the best to say for meta-data removal in stripping script.

This can be done with a pre-commit hook. See this one for an example.

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.

2 participants