Console: value -1 is out of range [256, 32768] for core.max_slice_size

I am on latest git master, building from source on Linux Debian: 1.3.3-93-gde02a6307.

Why do I get this in the log?

value -1 is out of range [256, 32768] for core.max_slice_size

When I start Siril I get this in the console:

20:35:05: Welcome to siril v1.3.4
20:35:05: Supported file types: BMP images, PIC images (IRIS), PGM and PPM binary images, RAW images, FITS-CFA images, Films, SER sequences, TIFF images, JPG images, JPEG XL images, PNG images, HEIF images, AVIF images.
20:35:05: value -1 is out of range [256, 32768] for core.max_slice_size
20:35:05: Setting CWD (Current Working Directory) to '/home/magnus/Pictures_from_Magnus/240925_Veil_Nebila'
20:35:05: Parallel processing enabled: using 32 logical processors.
20:35:05: Color management active.
20:35:05: JPEG ICC profiles supported.
20:35:06: Local scripts repository is up-to-date!
20:35:06: Local SPCC database repository is up-to-date!
20:35:07: Searching scripts in: "/home/magnus/usr/share/siril/scripts"...
20:35:07: Loading script: Mono_Preprocessing
20:35:07: Loading script: OSC_Extract_Ha
20:35:07: Loading script: OSC_Extract_HaOIII
20:35:07: Loading script: OSC_Preprocessing
20:35:07: Loading script: OSC_Preprocessing_BayerDrizzle
20:35:07: Loading script: OSC_Preprocessing_from_pp
20:35:07: Loading script: RGB_Composition
20:35:07: Loading registration method: Global Star Alignment (deep-sky)
20:35:07: Loading registration method: 1-2-3 Stars Registration (deep-sky)
20:35:07: Loading registration method: Image Pattern Alignment (planetary - full disk)
20:35:07: Loading registration method: KOMBAT (planetary surfaces or full disk)
20:35:07: Loading registration method: Comet/Asteroid Registration
20:35:07: Loading registration method: Apply Existing Registration
20:35:07: Default FITS extension is set to .fit
20:35:07: Gaia archive available
20:35:11: Siril documentation URL: https://siril.readthedocs.io/en/latest
20:36:02: Monitor profile loaded from /home/magnus/.local/share/icc/CG279X(35945120)10Display-100-D65.icc

Indeed in config.1.3.ini I have:

[Core]
...
max_slice_size=-1

but I have not put this there.

If I erase ~/.config/siril and restart I get a new config.1.3.ini with the same max_slice_size=-1 again.

EDIT: I suppose I can fix it by assigning a value in range, but what does core.max_slice_size do?

Nothing to worry about. -1 is used as a default value for if the config hasn’t been set, but the usual sensible range is 256 to 2^16, and I overlooked that Siril would complain about -1 being outside the permitted range. I’ll fix the way it’s handled so the warning doesn’t show up, but it doesn’t affect anything at all.

Thanks, @ajeb78,

What does it configure? Is it connected to siril application->preferences in any way?

I checked here: Preferences (commands) — Siril 1.3.0 documentation, but did not find anything.

Got it. Thanks. Great.

EDIT: Aha, GraXpert deconvolution in 3.1RC1 Releases · Steffenhir/GraXpert · GitHub

EDIT2: Sorry I am confused. I have no idea if this change is related to filters → deconvolution or GraXpert → deconvolution, or both. I will let the developer comment on that. Anyway, I am glad I discovered GraXpert deconovlution as a side effect of checking this.