John Stilley

Results 111 issues of John Stilley

The `htmltree` library is only used in one place in ARMI, the "new report" tools (which have a *terrible* name): https://github.com/terrapower/armi/blob/e8ddcdf774f9eb3e842ae75948f095095fc2d48b/armi/bookkeeping/report/newReports.py#L26 The version of htmltree we use is: `0.7.6`. Which...

cleanup

The variety of wheels built for this repo, and deployed on pypi.org, is low. We could use GitHub Actions "Artifacts" to build a wheel for: * [ ] various Windows...

enhancement
help wanted

This project (for the obvious historical reasons) uses `setup.py`. And I have not been bothered to change that because, "It works, so who cares." But it looks like future versions...

enhancement
help wanted
good first issue

The [VirtualEnv lecture](https://github.com/john-science/python_for_scientists/blob/main/classes/22_virtualenv/lecture_22.md) needs some love. At the very least, this lecture needs better support for Windows and Nix. Perhaps there should be two versions of the lecture?

Improvement
Help Wanted

Currently, we just have one unit testing lecture on the syllabus/home page: * Unit Tests - lecture_17.md But I think it would be better if we broke this up into...

Improvement
New Lecture
Help Wanted

PyTest is pretty common, and super powerful. And adding it shouldn't be too much work.

Improvement

* [Python black](https://www.geeksforgeeks.org/python-code-formatting-using-black/) is a great automation tool for a lot of this stuff. Might as well mention it. * [Python ruff](https://github.com/charliermarsh/ruff) is a more standard linting tool. But it's...

Improvement

The potential problem I am fixing here occurs when `socket.shutdown` fails and doesn’t proceed to `socket.close` to clean up the socket and allow garbage collection to release the memory used...

## What is the change? This PR makes sure that matplotlib plots in ARMI are closed. ## Why is the change being made? Someone recently complained to me that during...

cleanup

I believe the only functional solution would be something like: 1. In `context.py`, at "import armi" time, ARMI should determine if this system is Window. Linux, or Mac, and sets...

enhancement
feature request