ColabFold
ColabFold copied to clipboard
Logic error in error handling for MMSeqs2 server connection
Hasn't actually affected me, but noticed while reading the code: in the submit() and status() methods defined in run_mmseqs2(), I believe the error_count=0 lines https://github.com/sokrypton/ColabFold/blob/0b6d4562030b057d8f6f5287497a2c007bdac548/colabfold/colabfold.py#L88 and https://github.com/sokrypton/ColabFold/blob/0b6d4562030b057d8f6f5287497a2c007bdac548/colabfold/colabfold.py#L115 should be outside their respective while loops.
Looks like a real bug. Could you please submit a PR?