Giter VIP home page Giter VIP logo

pdb-vis's People

Contributors

touwwouter avatar jonblack avatar cbaakman avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar Li Xue avatar Brecht avatar  avatar

Forkers

jonblack cbaakman

pdb-vis's Issues

Handle erroneous residues in parser and visualisation

The WHAT IF list files may contain residues for which certain properties could not be calculated, e.g. it makes no sense to calculate accessibility if the residues have atoms with zero occupancy. WHAT IF now includes these residues in the acc list file with the reason between quotes. We have to find a way to show this to the user.

Suggestion:

  • The 'reason' not in the parsed accessibility value range, and should therefore not be within the color range. Instead, the residue should have a distinct color saying "I don't have an acc value".
  • A tooltip can say WHY (the reason) doesn't have an acc value.
  • The acc values passed to cmbi/proseqjs must either be the acc values or the reason

Make data file paths a config setting

The paths for the data files are hardcoded. These should be a setting in the Flask config. It should be a list because for each file type there could be multiple folders. @touwwouter will confirm this and also determine which will have priority.

Improve docker use

Update the dockerfiles and docker-compose files to match hope, also utilising the scripts for running a development and test environment. This means:

  • Use depends_on intead of links in docker-compose file
  • Add a dev docker-compose file and run_dev.sh script
  • Add a run_tests.sh script
  • Put the command in the docker-compose file

Explain tooltip

The user should be made aware of the tooltip. This can be done at the homepage or with a help button (in this case the other explanations will partly be moved to the help section).

Continue to output page even if .acc or .dsp doesn't exist

The .acc and .dsp files must both exist in order for a visualisation to be made. Moreover, if one doesn't exist, it's fatal.

Instead, the visualisation using proseq should be skipped and the error message shown in its place. This means the user still has access to the yasara scenes.

site.css cannot be found

site.css cannot be found and results in an internal server error (500). This is in contrast to a not found (404) error which you would expect.

Despite not being found, there's no obvious problem with the pages, so perhaps the css isn't even needed. Check this.

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.