Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Error Message for bad trial name in task->trialOrders #431

Open
jspjut opened this issue Nov 25, 2024 · 0 comments
Open

No Error Message for bad trial name in task->trialOrders #431

jspjut opened this issue Nov 25, 2024 · 0 comments

Comments

@jspjut
Copy link

jspjut commented Nov 25, 2024

If a task refers to a trial name that doesn't exist, when initializing that session, FPSci will crash without a useful error message.

Minimal reproduction, put something like this in a session:

            tasks = (
                {
                    id = "task1";
                    count = 7; 
                    trialOrders = [
                        { order = ["go"]; },
                    ];
                },
            );
            trials = ( 
                { 
                    // id = "go";
                    targetIds = ( "staticFrontWallGo" ); 
                },
            ); 

If the trial id is uncommented, this should load and run fine, but without the name in the trial, FPSci will crash when trying to load the trial into the task order. The same happens if the trial has a name, but the name in the trialOrders list is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant