-
Notifications
You must be signed in to change notification settings - Fork 256
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
Error:aguments are required: --image during Workflow Parallelization work #1513
Comments
Hi @LisaLiu11 thanks for opening this issue and providing a good amount of detail, this is very helpful. I noticed that you say you're on v4.0, which means the youtube tutorial is outdated. In version 4 we have transition to a configuration file based parallelization, with aims of being more user friendly and increase reproducibility. We have an example documented here. Hopefully this can resolve your parallelization error, but please do not hesitate to follow up with further questions. EDIT: It's maybe also worth mentioning there have been a few bug fixes that have merged since our 4.0 release, so I'd recommend updating your plantcv version in your conda environment to 4.2.1 👍 |
Hi Haley, Get command-line optionsargs = workflow_inputs() then run the run plantcv-run-workflow with a config on the terminal, then i got this error:
AttributeError: 'Namespace' object has no attribute 'image'. Did you mean: 'images'? I tried to change it into (filename=args.images), but it is still not working. Could I ask some suggestion for this situation? sorry for many questions as im really not familar with this part! |
Admittedly, this is one of the more confusing parts of our current parallelization structure, and we are working to make more complete tutorials hosted with Scribe. This attribute error is one that others have gotten stuck on too, so we talked this morning on ways to improve in v5, but for the time being... If you change |
Describe the bug
Hi all,
when I try to use the Parallel workflow for all my pictures running on a terminal, the latest error I got is as follows.
usage: FFinal-plantcv-workflow.py [-h] --image IMAGE --result RESULT --outdir OUTDIR [--writeimg]
[--debug DEBUG]
Final-plantcv-workflow.py: error: the following arguments are required: --image
I get confusion how it works with my script as I'm not a computer expert. As plantcv updates a lot, i havent found any the latest full article or video to learn how Parallel workflow works. I'm using the instructions from plantcv website and also the workshop video (https://www.youtube.com/watch?v=zvn_05cE0L4&t=6225s) and also the latest publication (https://github.com/HausMJ/RootDS_PythonCode/blob/main/Logan_Root_Colorizer_Workflow_v1.2.py) to learn myself how it works. Unfortunately, it is not working for many days.
I'm wondering if there is any clear full instruction released to teach non-expert how this Parallel workflow works? Could anyone please share any suggestions for this issue? I sincerely appreciate your help in advance.
part of my code for input.py based on old instruction is :
def options():
"""Parse command-line options
Local environment (please complete the following information):
The text was updated successfully, but these errors were encountered: