I basically use currently loaded sequence, I select best images in the beginning, then I stack, do the wavelets, close the sequence and reload it, and do the selection a bit later, with a new stacking.
As you can see, the SER loading failing from the script (this is why I use close in the script):
13:17:02: Running command: load
13:17:02: Setting CWD (Current Working Directory) to ‘/media/fred/Red2T/Captures/Jup/090124’
13:17:02: =========== SER file info ==============
13:17:02: for file ‘Jup_195330.ser’
13:17:02: image size: 528 x 498 (8 bits)
13:17:02: sensor type: RGGB
13:17:02: frame count: 138393
13:17:02: observer: gamma=50
13:17:02: instrument: ASI=ZWO ASI224MCtemp=10.3
13:17:02: telescope: fps=16.22gain=146exp=61.65
13:17:02: local time: 2024-01-09T17:42:24.822000
13:17:02: UTC time: 2024-01-09T17:42:24.755000
13:17:02: fps: 16.220
13:17:02: Timestamps in the SER file are correctly ordered.
13:17:02: ========================================
13:17:02: Sequence loaded: Jup_195330 (0->138392)
13:17:02: Opening Jup_195330.ser failed.
13:17:02: Error in line 11 (‘load’): generic error.
13:17:02: Exiting batch processing.
13:17:02: Closing sequence Jup_195330
13:17:03: Setting CWD (Current Working Directory) to ‘/media/fred/Red2T/Captures/Jup/090124’
13:17:03: Script execution failed.
But when I relaunch the very same load command from the GUI, it works:
13:17:27: Running command: load
13:17:27: Setting CWD (Current Working Directory) to ‘/media/fred/Red2T/Captures/Jup/090124’
13:17:27: =========== SER file info ==============
13:17:27: for file ‘Jup_195330.ser’
13:17:27: image size: 528 x 498 (8 bits)
13:17:27: sensor type: RGGB
13:17:27: frame count: 138393
13:17:27: observer: gamma=50
13:17:27: instrument: ASI=ZWO ASI224MCtemp=10.3
13:17:27: telescope: fps=16.22gain=146exp=61.65
13:17:27: local time: 2024-01-09T17:42:24.822000
13:17:27: UTC time: 2024-01-09T17:42:24.755000
13:17:27: fps: 16.220
13:17:27: Timestamps in the SER file are correctly ordered.
13:17:27: ========================================
13:17:27: Sequence loaded: Jup_195330 (0->138392)