Git Product home page Git Product logo

genomics-status's Introduction

Scilifelab modules

Installation

Installation is as simple as

python setup.py install

If you are running several virtual environments, where one (e.g. devel) is used for development, you can install a development version by running

workon devel
python setup.py develop

Documentation

Docs are located in the doc directory. To install, cd to doc and run

make html

Documentation output is found in build.

Running the tests

The modules are shipped with a number of unit tests, located in the tests directory. To run a test, issue the command

python setup.py nosetests

or if you want to run individual tests, cd to tests and run (for example)

nosetests -v -s test_db.py

genomics-status's People

Contributors

aanil avatar almahans avatar alneberg avatar b97pla avatar chuan-wang avatar ewels avatar franbonath avatar galithil avatar guillermo-carrasco avatar hammarn avatar kate-v-stepanova avatar kedhammar avatar mariogiov avatar mayabrandi avatar ormestad avatar parlundin avatar pekrau avatar remiolsen avatar senthil10 avatar sofiahag avatar ssjunnebo avatar sylvinite avatar vals avatar vezzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

genomics-status's Issues

Contextual default presets

A requested functionality is to have contextual presets, i.e "Order Status" should be the default preset for "Pending" projects list.

TODO

  • Implement logic
  • Map preset --> list

Pending projects list preset "Order status"

Would be awesome if you could make a column preset called “Order status” that should be applied to the list of pending projects.
Do you think it would be possible to set different preset defaults for the different lists?

Project
Project Name
Application
Type
Portal ID
User Project Reference
Project Coordinator
Order Received
Plates Sent
Contract Sent
Contract Received
Sample Information Received
Samples Received

Latest Running Note

Note! Changed order of the dates!

Typo!

On Project View --> Project details --> Wet Lab --> Custor Primier, that should be Custom Primer

Q30 RapidHighOutput filter

On the Q30 page - the plot has a bunch of filters, and it’s missing one of the more recent run modes: RapidHighOutput mode

Link to order portal page in project list

Make the User Project Reference in the project list a link to the portal using the Portal ID. (Same as in the heading on the project view pages)

The Portal ID column could then be removed from the Order Status preset, which would save some needed horizontal real estate, and save us quite a few clicks.

Caliper images should not be loaded by default

Hej,

The caliper images are always retrieved eventhough the checkbox is not checked. This is causing the API call https://genomics-status.scilifelab.se/api/v1/project/ to be extremely slow for projects with lots of samples (see attached screenshot).

screen shot 2014-08-28 at 11 18 40

@Galithil I would suggest an implementation like the one for Zendesk tickets: To load the caliper images under request. Even more, given the slowness of the retrieval, I would suggest that checking the "Caliper images" checkbox enables a button in the sample row to download the corresponding caliper images.

What do you think?

Cheating the browsers cache when a JS file is updated

Some of the JS code we've moved out from the template and to separate files, it would be nice if they didn't get cached by the browsers when we add/change some code.

Maybe it would be possible to add the commit id's of the current files in the templates, thusly

<script type="text/javascript" src="somescript.js?{latest git commit id}"></script>

As suggested by @ewels in the the discussion here: #100

Remove library validation caliper image

From the word of Chuan, caliper images for library validation is not supported properly in LIMS. As such it should be removed (at least not be displayed) in genstat.

The images that are displaying now are wrong and is confusing to the users.

[gs-users] Changes required to display caliper images

The fields displayed in the project-sample screen of genomic status is governed by the gs-users DB. In order to display the new fields, namely, the caliper images, this database needs to be updated.

Proposed changes :
user : genstat_default

New key : sample_columns . INITIAL_QC_COLUMNS . Initial QC Caliper Image
Value : caliper_image

New key : sample_columns . LIBRARY_VALIDATION_COLUMNS . Library Validation Caliper Image
Value : caliper_image

Suggestion box freezes after someone enters a ticket

Whenever someone submits a new suggestion, the suggestion box page freezes: Users cannot scroll up or down, and the form is not cleaned up.

The bigger problem is that they actually can click "Submit Suggestions" again, and as they don't get any feedback when submitting it, they think that it has not been submitted, and therefore they click again, and again... so we end up with a lot of repeated suggestions in Trello.

The behaviour should be:

  1. Once the user clicks in "Send Suggestiong" some feedback (pop-up, whatever) tells the user that everything is fine
  2. The form is wiped out after the Suggestion is submitted

404 Page Not Found handling

Currently, this is all what we see when a page is not found:

Traceback (most recent call last):
  File "/home/genomics.www/anaconda/envs/web/lib/python2.7/site-packages/tornado-4.0.2-py2.7-linux-x86_64.egg/tornado/web.py", line 1309, in _execute
    result = self.prepare()
  File "/home/genomics.www/anaconda/envs/web/lib/python2.7/site-packages/tornado-4.0.2-py2.7-linux-x86_64.egg/tornado/web.py", line 1998, in prepare
    raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found

Handle this situation to show a nicer message...

Load from presets name colision

When checking or unchecking checkboxes from different columns, if the checkboxes have the same ID, will load the firs one, even if the intention is to load the one from another column.

For example, both BASIC_COLUMNS and LIBRARY_VALIDATION_COLUMNS have a checkbox with ID well_location. When loading the "Library Validation" preset, it will check the one from "Basic" instead of the one from "Library Validation".

Dynamic HTML title-tag

The title tag should be updated depending on what page is viewed: e.g. when viewing "Reception control projects" the title in the tab/window should say "Reception control projects / Genomics Status" making it easier to find the right tab if more than one is opened.

All samples sequenced apparently wrong

So for example if we take project in genomics-status, the date for "All samples sequenced" is 2014-05-16, but if we go to the same project in the LIMS, in project summary, the date is 2014-07-21

Whyyy?

Shore up HTML safety in running notes

Joel discovered that any HTML you write in running notes is dumped straight out in the browser. Whilst quite handy for people wanting to write links and stuff, we should probably limit which HTML tags we allow (and maybe strip attributes).

Can probably strip everything simply with $("<p>").html(running_note).text(); - though we may want to make it slightly more complex so that we can keep links etc. May be easier to do this server side.

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.