Skip to content
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: Insufficient count of input/output paths supplied! Expected 1 output paths and 2 input paths! Got sys.argv: [] #15

Open
Kingxudong opened this issue Nov 21, 2022 · 3 comments

Comments

@Kingxudong
Copy link

The defaults.yaml file path is set as follows
path: local
paths:

local: /home/anne/Anne/data/airway_vida_test/A2019RR46/

 local:  G:\Airway\A2069BH51\

The file structure is
企业微信截图_1669025465841
Error content prompts
ERROR: Insufficient count of input/output paths supplied!
Expected 1 output paths and 2 input paths!
Got sys.argv: []

@LiquidFun
Copy link
Owner

So do none of the stages work?

And which command did you run? Can you post it exactly?

Also you have written the local variable 2 times in your post. Which is it? And are you on Windows or Linux?

path: local
paths:
   - local: /home/anne/Anne/data/airway_vida_test/A2019RR46/   # <- this one?
   - local: G:\Airway\A2069BH51\     # or this one?

@Kingxudong
Copy link
Author

I am using windows, where the local variables are used second, and the npz file in stage 01 is converted by its own method. In the second step (airway/image_processing/remove_all_0_layers.py), "ERROR: No patient data path supplied"

@LiquidFun
Copy link
Owner

I cannot reproduce the error. What happens if you run the tutorial with airway tutorial? It should create a sample patient, can you then run airway stages 2 --path example? Does that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants