Airway icon indicating copy to clipboard operation
Airway copied to clipboard

ERROR: Insufficient count of input/output paths supplied! Expected 1 output paths and 2 input paths! Got sys.argv: []

Open Kingxudong opened this issue 2 years ago • 3 comments

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: []

Kingxudong avatar Nov 21 '22 10:11 Kingxudong

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?

LiquidFun avatar Nov 21 '22 12:11 LiquidFun

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"

Kingxudong avatar Nov 22 '22 01:11 Kingxudong

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?

LiquidFun avatar Nov 23 '22 12:11 LiquidFun