-
Notifications
You must be signed in to change notification settings - Fork 454
add bellavista prepare #6946
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
add bellavista prepare #6946
Conversation
|
||
while sleep 1; do | ||
if grep -q "OME-Zarr image saved successfully" './bellavista.log'; then | ||
echo "Bella Vista input files created! Stopping the tool..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need an additional safe-guards here.
What happens if this string never appears? Should we kill the tool after X hours? The X hours can be taken optionally from an ENV var, so the admin can overwrite it?
Also would it make sense to actually check if the result file exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a timeout to the script.
For the output I'm not sure how to check. the main output would be the image in zarr format.
Now I just check if the directory and .zgroup file exists
Co-authored-by: Björn Grüning <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, lets try this.
Large spatial transcriptomic images take a long time to prepare for bellavista interactive tool.
This tool will prepare inputs in advance to reduce computation time.
FOR CONTRIBUTOR: