frame checking

General discussions and questions.
Post Reply
lukasm
Posts: 4
Joined: Thu Mar 16, 2017 1:37 pm

frame checking

Post by lukasm »

Hello!
I tried using framechecking in the python service. It seems that on any numeric task only the first frame is checked. I think it would be best to do it on all frames.
The problem is, that taskinfo["files"] in the python service class contains always only the first frame of a numeric task.
As I see it, there are two ways to solve this problem:

a) make taskinfo["files"] contain all frames in this task, not only the first one.
This needed to be added around here: https://github.com/CGRU/cgru/blob/maste ... .cpp#L1166
b) get the block pattern and the Task's start and endframe as a parameter on taskinfo

Am I missing something here? What do you think about this?
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: frame checking

Post by timurhai »

Hi. Sorry for a delay.
Yes, i think that it will be a better solution.
For this we should not fill numbers on the server side, generating the task.
On the (numeric) task generation afserver should send it to afrender with raw patterns and with numbers, (start, end, by).
In the task service Python code, we should fill that numbers.
This way we will know info about all its files.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply