Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use table components in haddock3 libplots.py #6

Closed
sverhoeven opened this issue Sep 10, 2024 · 4 comments
Closed

Use table components in haddock3 libplots.py #6

sverhoeven opened this issue Sep 10, 2024 · 4 comments

Comments

@sverhoeven
Copy link
Member

sverhoeven commented Sep 10, 2024

Use html like https://github.com/i-VRESSE/haddock3-ui/blob/main/example.html in libplots.py of haddock3.

Was blocked by #5

@sverhoeven
Copy link
Member Author

Now example.html gives

``
`colormaker.ts:126 Uncaught (in promise) TypeError: P1.scale is not a function
at ra.getScale (colormaker.ts:126:8)
at chainname-colormaker.ts:40:45
at Gt.eachModel (structure.ts:660:9)
at new ra (chainname-colormaker.ts:29:22)
at Object.getScheme (colormaker-registry.ts:103:12)
at ar.getSubdividedColor (spline.ts:517:41)
at cartoon-representation.ts:145:29
at n.eachPolymer (chain-proxy.ts:277:9)
at model-proxy.ts:139:14
at n.eachChain (model-proxy.ts:179:9)
Show 37 more frames

sverhoeven added a commit that referenced this issue Sep 10, 2024
@sverhoeven
Copy link
Member Author

Now example.html gives

`` `colormaker.ts:126 Uncaught (in promise) TypeError: P1.scale is not a function at ra.getScale (colormaker.ts:126:8) at chainname-colormaker.ts:40:45 at Gt.eachModel (structure.ts:660:9) at new ra (chainname-colormaker.ts:29:22) at Object.getScheme (colormaker-registry.ts:103:12) at ar.getSubdividedColor (spline.ts:517:41) at cartoon-representation.ts:145:29 at n.eachPolymer (chain-proxy.ts:277:9) at model-proxy.ts:139:14 at n.eachChain (model-proxy.ts:179:9) Show 37 more frames

Fixed in #7

@sverhoeven
Copy link
Member Author

The table from haddock3-ui looks different than the one from analysis-components.
_home_verhoes_git_vre4imbc_haddock3-ui_example html
_home_verhoes_git_vre4imbc_haddock3-ui_example html (1)

but all functionality is retained.

@sverhoeven
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant