Replies: 1 comment
-
|
Hi @jwprusi, first of all I apologise for my delayed response, I haven't had the time to spend on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a couple of proposals, and I've elected to split them between two discussions because they can be discussed and implemented separately. This is the first of two discussions.
I'd propose the addition of two additional features for
Section.display_results(). I've implemented both of these for my own personal use by subclassingSectionand creating my owndisplay_resultsfunction, which is probably not a good idea for long-term use, but I didn't want to do a more elaborate implementation unless there's interest from others.file=toSection.display_results()andpost.print_results(). The end ofpost.print_results(file=f)can use therich.print()function, which takes afileargument to print to file:This will enable this to be consistent with the
print()function to create titles and headers when using the package:My solution iterates over a
dictmade from theSectionPropertiescomment block, and directly readsSectionProperties.<property>, rather than using theSection.get_<property>()functions likepost.print_results()does so it needs a lot of work before it's ready for a PR, but the results that I propose look like this:Do these seem useful to others and worth further development?
Beta Was this translation helpful? Give feedback.
All reactions