Hello, I was submitting our docker image, but I received the below error message (in the log file): ``` STDERR: 2022-07-27T00:35:06.423061466Z INFO:toil.worker:---TOIL WORKER OUTPUT LOG--- STDERR: 2022-07-27T00:35:06.423064858Z INFO:toil:Running Toil version 4.1.0-5ad5e77d98e1456b4f70f5b00e688a43cdce2ebe. STDERR: 2022-07-27T00:35:06.423068158Z Traceback (most recent call last): STDERR: 2022-07-27T00:35:06.423083398Z File "/usr/local/lib/python3.8/site-packages/cwltool/process.py", line 454, in fill_in_defaults STDERR: 2022-07-27T00:35:06.423087139Z raise WorkflowException( STDERR: 2022-07-27T00:35:06.423090084Z cwltool.errors.WorkflowException: Missing required input parameter 'input_file' ``` And the following warning message on top of it: ``` STDERR: 2022-07-27T00:33:23.963629785Z c1b3e14044c8 2022-07-27 00:33:23,963 MainThread WARNING cwltool: Workflow checker warning: STDERR: 2022-07-27T00:33:23.963679602Z mod-microbiome-2022-main/workflow.cwl:171:9: Source 'predictions' of type ["null", "File"] may be STDERR: 2022-07-27T00:33:23.963683920Z incompatible STDERR: 2022-07-27T00:33:23.963686305Z mod-microbiome-2022-main/workflow.cwl:332:9: with sink 'input_file' of type "File" STDERR: 2022-07-27T00:33:23.963688771Z mod-microbiome-2022-main/workflow.cwl:171:9: Source 'predictions' of type ["null", "File"] may be STDERR: 2022-07-27T00:33:23.963691297Z incompatible STDERR: 2022-07-27T00:33:23.963693577Z mod-microbiome-2022-main/workflow.cwl:275:9: with sink 'input_file' of type "File" STDERR: 2022-07-27T00:33:23.963695864Z mod-microbiome-2022-main/workflow.cwl:171:9: Source 'predictions' of type ["null", "File"] may be STDERR: 2022-07-27T00:33:23.963698109Z incompatible STDERR: 2022-07-27T00:33:23.963700298Z mod-microbiome-2022-main/workflow.cwl:222:9: with sink 'infile' of type "File" STDERR: 2022-07-27T00:33:23.963702703Z mod-microbiome-2022-main/workflow.cwl:70:9: Source 'docker_repository' of type ["null", "string"] STDERR: 2022-07-27T00:33:23.963705026Z may be incompatible STDERR: 2022-07-27T00:33:23.963707217Z mod-microbiome-2022-main/workflow.cwl:148:9: with sink 'docker_repository' of type "string" STDERR: 2022-07-27T00:33:23.963709564Z mod-microbiome-2022-main/workflow.cwl:71:9: Source 'docker_digest' of type ["null", "string"] may STDERR: 2022-07-27T00:33:23.963711870Z be incompatible STDERR: 2022-07-27T00:33:23.963714005Z mod-microbiome-2022-main/workflow.cwl:150:9: with sink 'docker_digest' of type "string" ``` The docker image works fine on our local machine. We could produce the ```predictions.csv``` using docker commands suggested in the "Docker Debugging Expectations" article. Does anyone know how to fix this?

Created by yaojm
Thank you, that's really helpful!
@yaojm , There is no guarantee taxons will be shared or even normalized across data sets. You may infer that the taxons not present are zero, but please note that it will be at your own risk. Hopefully this will help you debug a little further!
Thank you so much! I will take a look into it. I have another question: can I assume the features provided in `cst_valencia_w_taxons.csv` be the same in test data as in the training data? Because in the line where we use the `divide()` function, we were selecting the features by their column index, which works fine with the training data--and the Typeerror suggests at least one of the columns we selected is not numerical type. I am not entirely sure what causes this; maybe the order of columns is different in test data, and I will adjust the code to avoid hard-coding, but could you help me confirm if the features are the same?
Hi @yaojm , Thank you for sharing your TOIL logs, and for going through the Debugging steps! As you've noted, the error stems from a `predictions.csv` file being expected by the workflow but was not found - this generally indicates that there was an issue running your Docker container against the test set. I looked at your two submissions and they both shared the same error: ```python TypeError: unsupported operand type(s) for /: 'str' and 'int' ``` related to the `divide()` function in your code. Hope this helps!

Invalid submission: Missing required input parameter 'input_file' page is loading…