This function is too complex and it is not readable in our Viewer implementation. Its refactoring is inevitable.
Completed on issue_2_pdbe_collaboration branch: https://git.enzim.ttk.hu/web/TmMolStar/src/506957daa17591115b8fbc094458158bd209be3a/src/extensions/tmdet/behavior.ts#L113
This function is too complex and it is not readable in our Viewer implementation. Its refactoring is inevitable.
Completed on issue_2_pdbe_collaboration branch: https://git.enzim.ttk.hu/web/TmMolStar/src/506957daa17591115b8fbc094458158bd209be3a/src/extensions/tmdet/behavior.ts#L113