setref, link or convert in script: "This command can only be used when a sequence is loaded."

Hi
I have problem with using setref and convert command in script.
My folder has sequence of FIT files only.
When I try to use convert or link command by a script, it produce for me new symlinks, but not SEQ file. I don’t know why? Those commands works good from console mode. I just want to work only with script:

  1. open sequence, or create new
  2. set reference frame, for example 15
  3. register all the frames
  4. Stack them

like:

link seq
setref 15
register seq
stack r_seq rej 4 3 -norm=addscale -out=stack.fit

I have 0.99.6 ver and all my frames are preprocessed already.

Hi, indeed we have forgotten something… setref only works with the opened sequence, but with the commands, sequences are only opened for processing. It’s one of these commands that only work with the GUI. convert does not open the converted sequence.

We’ll try to thing about a way to use it in scripts, it’s useful for live stacking, maybe adding a parameter to setref, the sequence name.

Sorry

2 Likes

Hello.

The dev version should be fine now. The new prototype of setref command is:
setref sequencename number

Hello.
As I understand, “dev” version is available only for beta testers?

1 Like

It is available on our rep.
You can compile it or download CI artifacts (even if for now the windows one cannot compile due to a dep error).

EDIT: in fact CIs are fixed

1 Like