Experiencing difficulties with batching #274
Replies: 4 comments 6 replies
-
I admit that this is the mode I understood the least when I created the new launcher/wrapper script and the one tested the least 😬 My test of the launch command matches your output. I will investigate and let you know what I discover. |
Beta Was this translation helpful? Give feedback.
-
I created a new issue for this and pushed a fix to this branch. Can you checkout that branch and see if it at least gets you past the launch stage? On my end I am testing with the example input CSV in the |
Beta Was this translation helpful? Give feedback.
-
There were more bugs that I fixed, and in the process maybe got carried away and ended up changing where the CSV data file is generated. Instead of specifying an output file path, you now specify an output directory, in which timestamped CSV files are generated of the form As of this commit, the batch mode runs successfully with (the new) default values. I'll also note that you can completely reset the Blast batch mode environment using bash run/blastctl batch purge-db if for example you started a batch run that aborted and then receive an error |
Beta Was this translation helpful? Give feedback.
-
honestly I think batch mode might be a bit deprecated. I encourage running local installs, but a simpler work flow might be adding transients using the transient uploads URL: http://127.0.0.1:8000/transient_uploads and then grabbing data with the API following instructions from https://blast.readthedocs.io/en/latest/usage/web_api.html. On my mac I have also had some trouble with the SED fitting stage taking a very long time, so please let me know if you encounter similar issues. I've also had to make some small edits to my docker compose files, so let's keep in touch and please let us know what issues you encounter. |
Beta Was this translation helpful? Give feedback.
-
Hi there! I am currently attempting to use Blast in batch mode, but am experiencing some difficulties and was hoping to get some help. I have followed the instructions on how to run Blast locally, up to and including the 'Setup environment file' section, and have setup the input and output files and additional environment variables as directed. However when I run the
bash run/blastctl batch up
command from the base Blast directory, I receive the following:It seems like
wait-for-it.sh
is not being provided with a host or port, howeverdocker-entrypoint.batch.sh
contains the linebash wait-for-it.sh 0.0.0.0:${WEB_APP_PORT} --timeout=0
which, to my understanding, should be providing precisely these. However, in checking that the environment variables are set,echo ${WEB_APP_PORT}
returns none, so my guess is that the .env.default script is not being run first?In case it is of relevance to Docker installations, I am working on a MacBook Air M3 2024.
Any advice would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions