Skip to content

Nicer REPL strings for Plume and Puff models #66

@aefarrell

Description

@aefarrell

The results of calling plume(...) and puff(...) are pretty hideous and can be slow to print. Unfortunately, I made the bad life choice of using this as a lazy way of unit testing a bunch of stuff -- instead of checking that parameters are being initialized correctly I just check that the REPL string is the same since it includes printing out the floating point representations of everything.

A generic function could be written that takes a PlumeSolution or PuffSolution type and prints out a nice summary, like exists for Scenarios. Tackling this would also require a bunch of doc tests to be changed to maintain test coverage.

Metadata

Metadata

Assignees

Labels

todoThings that need to be done

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions