On Tue, Nov 05, 2024 at 11:38:11AM +0100, David Nečas (Yeti) wrote: > On Mon, Nov 04, 2024 at 03:58:37PM +0000, Smith, Justin wrote: > > The problem is not the string that I write to the file because it > > successfully sets the default that shows up in manual Gwyddion usage > > (i.e., the [Data Process > Grains > Filter…] dialog box has the values > > I set for the ranges), and because using a file simply generated from > > manual Gwyddion usage also fails. > > The module seems to not work correctly non-interactively (which is > probably something done rarely in this case). Since simply running it > again using Ctrl-F does not work, any other non-interactive use is > unlikely to work either. > > In other words, it is a bug. I will have to look into it.
I fixed the bug (r26796). It was not reading the ranges file when used non-interactively. So Ctrl-F works now. The module is still kind of interactive-only because of the file where it remembers all the ranges. But in principle you can rewrite the file in Python and run the function. Regards, Yeti _______________________________________________ Gwyddion-users mailing list Gwyddion-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gwyddion-users