Open pabloyoyoista opened 3 months ago
The error message could certainly be better, suggesting the only available dataset or listing them if there are several but not too many.
Choosing one you didn't ask for does not sound good to me, it will just give you more confusion down the line.
The error message could certainly be better, suggesting the only available dataset or listing them if there are several but not too many.
That's also a sensible option. Might also help people learn about the difference between jobs and datasets
Let's move this from our own accelerator! One of the things where there is still great improvement potential for the accelerator is in error reporting, and this is one of those small things that help new users get acquainted faster.
In method X:
In method Y:
And then the build script:
it will fail with the following error message:
accelerator.error.NoSuchDatasetError: Dataset 'sofya.krainova-12160' does not exist
.The actual problem here is that job_X does not have a dataset named
default
. This should hopefully be identifiable, and we could provide a better error. Maybe even, since the job has only one single dataset, it would probably be possible to identify it and not error out in this case? Although that requires further discussion.