Giter VIP home page Giter VIP logo

bdb-web's People

Contributors

cbaakman avatar jonblack avatar touwwouter avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jonblack cbaakman

bdb-web's Issues

Bplots: figure size too large to print

Even though this should be prevented in b_plot.py, the following Exception is raised sometimes:

Exception on /bplot/2wja.png [GET]

Traceback (most recent call last):
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/srv/www/bdb-web/bdb-web/bdb_web/views.py", line 50, in bplot
fig = b_plot.show(pdb_id, ca=False)
File "/srv/www/bdb-web/bdb-web/bdb_web/b_plot.py", line 112, in show
canvas.print_png(output)
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 505, in print_png
FigureCanvasAgg.draw(self)
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 446, in draw
self.renderer = self.get_renderer(cleared=True)
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 465, in get_renderer
self.renderer = RendererAgg(w, h, self.figure.dpi)
File "/srv/www/bdb-web/.virtualenvs/bdb-web/local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 84, in init
self._renderer = _RendererAgg(int(width), int(height), dpi, debug=False)
ValueError: width and height must each be below 32768

B-factors 'likely' residual

B-factors are 'likely residual' according to PDB remediations, not just 'residual'. Change accordingly, details matter.

Mathml not supported (entirely) in some browsers

Safari on iphone: does not render \rangle and \langle
Chromium: does not support mathml, only in version 24 (not lower/higher).
Internet Explorer does not support MathML natively. MathPlayer plugin needed.

Change back to mathjax and update pandoc on server?

Include information source and final decision in bdb template

Include assume_iso in bdb template and somehow indicate how the information in the tables was derived (e.g. calculated from coordinates or parsed from remark 3 records).
Example: 4k6k has residual B-factors according to REMARK 3, but the current version of the bdb decision tree decides full B-factors are already present as the B-values can all be reproduced from the ANISOU records.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.