Skip to content

Add new examples and enhance existing functionality - #52

Open
jgray-19 wants to merge 1 commit into
mainfrom
fix/notebooks
Open

jgray-19 wants to merge 1 commit into
mainfrom
fix/notebooks

Conversation

@jgray-19

@jgray-19 jgray-19 commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator
  • Introduced a new FODO sequence example in examples/ex-jupyter/fodo.seq.
  • Added a new MAD-NG script for the PS Twiss example in examples/ex-ps-twiss/ex-ps-twiss.mad.
  • Enhanced ex-defexpr.py to prevent infinite recursion on cycles by tracking visited tables.
  • Updated pyproject.toml to include Jupyter dependencies for example execution.
  • Bumped version to 0.10.0 in src/pymadng/__init__.py.
  • Improved output handling in madp_object.py to support Jupyter environments.
  • Refactored madp_pymad.py to enhance process output management and added a method to drain piped outputs.
  • Updated example log to reflect version change.
  • Created automated tests for example scripts in tests/test_examples.py.
  • Added tests for Jupyter notebook execution in tests/test_jupyter_notebook.py.

- Introduced a new FODO sequence example in `examples/ex-jupyter/fodo.seq`.
- Added a new MAD-NG script for the PS Twiss example in `examples/ex-ps-twiss/ex-ps-twiss.mad`.
- Enhanced `ex-defexpr.py` to prevent infinite recursion on cycles by tracking visited tables.
- Updated `pyproject.toml` to include Jupyter dependencies for example execution.
- Bumped version to 0.10.0 in `src/pymadng/__init__.py`.
- Improved output handling in `madp_object.py` to support Jupyter environments.
- Refactored `madp_pymad.py` to enhance process output management and added a method to drain piped outputs.
- Updated example log to reflect version change.
- Created automated tests for example scripts in `tests/test_examples.py`.
- Added tests for Jupyter notebook execution in `tests/test_jupyter_notebook.py`.

This branch has not been deployed

No deployments
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