Skip to content

Conversation

vyudu
Copy link
Member

@vyudu vyudu commented Jan 24, 2025

Use Term tables to pretty-print parameters. Using Term seems like a reasonably lightweight solution but if there are other better options here let me know. May need to figure out how to truncate the table size for larger systems. Fixes SciML/ModelingToolkit.jl#2651
Screenshot 2025-01-24 at 12 48 46 PM

@SebastianM-C
Copy link
Contributor

I think Term isn't that lightweight, but PrettyTables would be a more lightweight alternative.

@vyudu
Copy link
Member Author

vyudu commented Feb 21, 2025

@AayushSabharwal I think this is ready

Copy link
Member

@AayushSabharwal AayushSabharwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add show_params to the docs in api.md, in the same place ParameterIndexingProxy is. Would also be nice if the complete_sii.md example had a code block that did sol.ps to show off the output. The PR also needs a format.

@vyudu
Copy link
Member Author

vyudu commented Mar 3, 2025

is this good to merge?

@vyudu
Copy link
Member Author

vyudu commented Mar 20, 2025

bump

@AayushSabharwal
Copy link
Member

My bad 😅

@AayushSabharwal AayushSabharwal merged commit 158080c into SciML:master Mar 22, 2025
8 of 10 checks passed
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.

Improve printing/display of XSystem parameters
3 participants