Closed tbooth closed 6 years ago
OK, I simply need to call .get()
before I can .advance()
. I suspect .advance()
should simply call .get()
automatically?
Cheers,
TIM
I see ...
I never ran advance()
on a Step
that was just created.
I can add get()
in advance to fix this
Hi Tim,
What I'm actually doing is looking for existing processes that match certain criteria then closing them, so:
process_i_found.step.advance()
, which I've realised is equivalent to Step(lims, id=process_i_found.id).advance()
. In both cases the extra get()
is needed.
Cheers, TIM
Hi,
I got the stack trace above. I'm not sure if this is something broken in the module or just a failure to catch an error condition and convert it to a meaningful error. I think the step was already completed, and I'm not 100% sure I have permission to close it. Will dig further.
Cheers,
TIM