angelolab / ark-analysis

Integrated pipeline for multiplexed image analysis
https://ark-analysis.readthedocs.io/en/latest/
MIT License
70 stars 25 forks source link

ConnectionResetError when using deepcell_service_utils.create_deepcell_output #1088

Closed coding0lion closed 9 months ago

coding0lion commented 9 months ago

Description: I am a user of the ark-analysis tool. Firstly, I would like to express my appreciation for the great work that your team has done in developing this tool. I am reaching out because I have encountered a ConnectionError while using ark-analysis. The specific error message is as follows: This error occurs consistently, and it seems to be related to the network connection between my machine and the ark-analysis server. I have already checked my internet connection, and I can access the ark-analysis server through a web browser without any issues. However, when I try to use ark-analysis programmatically, I encounter the mentioned ConnectionError.

Expected Behavior: I expected the function to upload files to the DeepCell server and retrieve the results without encountering a connection error.

Steps to Reproduce: Ran the following code: deepcell_service_utils.create_deepcell_output(deepcell_input_dir, deepcell_output_dir, fovs=fovs, scale=rescale_factor)

I would be grateful if you could provide guidance on how to resolve this issue. Additionally, if there are any specific logs or additional information that would be helpful for troubleshooting, please let me know, and I will gladly provide them.