hh-suite icon indicating copy to clipboard operation
hh-suite copied to clipboard

hh_reader.py. Copy-pasta error for processing template length

Open chrismacdermaid opened this issue 3 years ago • 0 comments

:exclamation: Make to check out our User Guide.

Expected Behavior

['T', 'sp|Q96KV6|BT2A', '112', 'NVTAEDNGIYQCYFQEGRSC--NEAILHLVVAG--LDSEPVIE---MRDHEDGGIQLECISGGWYPK-PLTVWRDPYGEV', '183', '(586)']

Should return: token_5 = 586

Current Behavior

returns token_5 = 183

Steps to Reproduce (for bugs)

Please make sure to execute the reproduction steps. Parse an hhr, print token_5 variable

change line 161 https://github.com/soedinglab/hh-suite/blob/4f1ab739ba5abb6ddf66b66ae043117464d24e25/scripts/hh_reader.py#L161

from: tokens[4] to tokens[5]

HH-suite Output (for bugs)

Please make sure to post the complete output of the tool you called. Please use gist.github.com.

Context

Providing context helps us come up with a solution and improve our documentation for the future.

Your Environment

Include as many relevant details about the environment you experienced the issue in.

  • Version/Git commit used:
  • Server specifications (especially CPU support for AVX2/SSE and amount of system memory):
  • Operating system and version:

chrismacdermaid avatar Feb 28 '21 16:02 chrismacdermaid