Siril - calibrate_single error

Hi, I’m doing a script to automatize lights calibration. When I have several lights to stack per panel the code is working perfectly (calibrate) and when trying to calibrating single images i got this error:

**** ERROR *** name ‘sequencename’ is not defined

when doing this line: cmd.calibrate_single(‘light_00001’, **calibrate_options)

I checked the file light_00001 is present in the folder, also tried using light_00001.fit and same thing happens.

Before doing calibrate_single I tried different things

  • cmd.convertraw(‘light’, out=process_dir)
  • also cmd.convert(‘light’, out=process_dir)
  • and also tried using the RAW file directly in calibrate_single

none of those cases worked

INFO : VERSION siril 1.2.3 :
INFO : Siril is compatible with pysiril
INFO : Initialisation pySiril V0.0.15 : OK