-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve logging when user makes input mistake in scmpx Fractal task #84
Comments
Thanks for posting this with the logs @nrepina Specifically, the 5 (scmultiplex step) .err files contain the following log:
Thus, what happened is that the tasks realizes there is no fitting channel and then exits, without crashing the whole pipeline. For me, there are 2 questions:
Why do we want the silent exit at all? It allows scenarios where e.g. you run on a multiplexed experiment, want to make measurements for your channel A03_C02, but some cycles don't have that cycle. If we allow regular exit in that case, we just don't get measurements for those cycles, but get measurements for cycles that contain A03_C02. But it highlights that, if we allow such things, that there is a category of errors (the warnings) which we may need to highlight more to the user. We should refer to this issue when improving how we show logs to the users. Until we have that improved, it will be important to check the .err log files of some of your tasks (as in the logs linked above) if something did not result the way you expected. |
Thank you @jluethi for the thorough response! Ok got it, I also suspected they might be buried inside one the files, but there are so many that with my little experience it is cumbersome to go through them. Given there are 484 log files just for one plate I have no idea where to look. If the channel does not exist, this would be a significant warning that the user should be made aware of, so to me it makes sense that the warning is made more visible. I think it can be a warning, and not an error that exists the task - this way the task can continue running for the channels that do exist (as in the multiplexing scenario you described). Is it possible for warnings to appear on a plate-level (i.e. this channel does not exist in the plate) so that you don't get the dozens of repeated warnings piling up on the web interface? On the topic of warnings - some of my wells have out of focus wells due to focus error, as specified in the Yoko metadata. When I ran the same plates through Drogon I was warned about it this, which is also very useful to know and not obvious otherwise. Can I find similar information in the Fractal logs, and where would it be? |
Fully agreed! The goal should be to just expose what is relevant. It's sometimes hard to know what that will be and Fractal doesn't expose all of that as of now. Until it does, here's a brief overview of the log folder contents (because they are not as complicated as it seems): => Just check the .err files (and not the 0_slurm_*.err files). One per task would be useful. For each well in parallel tasks, there will be a separate set of those 7 files. But they mostly contain the same, unless one well had an issue.
The log of the Create OME-Zarr should contain the logs for this. We kept some logs about how many entries were skipped because of errors (and actually improved the counting from how Drogon counts to avoid off-by-2 errors). I think they should show up as warnings in that log, but let me know if you run an actual plate where there are these issues and whether the log shows up as a warning |
Amazing, thanks so much for the detailed explanation @jluethi ! Very helpful, and will check it out. |
Improve logging when user inputs non-existing Label or Wavelength ID in "scMultiplex Measurements" Fractal task.
Currently gives no error during task run but no feature extraction output is produced.
Logs from job run where this issue occured are attached.
29_logs.zip
The text was updated successfully, but these errors were encountered: