sokrypton / sokrypton/ColabFold

Logic error in error handling for MMSeqs2 server connection

Open
#663 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
2.9k
Forks
747
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open colabfold/colabfold.py and inspect run_mmseqs2(), especially the submit() and status() methods around lines 88 and 115. Trace how error_count behaves across each while loop and confirm that the completed change preserves the counter between retries in both methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.