GithubHelp home page GithubHelp logo

bmrb-io / bmrbdep Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 3.05 MB

BMRB current generation deposition server.

TypeScript 45.43% JavaScript 0.51% CSS 0.22% HTML 17.37% Python 30.32% Shell 3.09% Dockerfile 0.32% SCSS 2.74%

bmrbdep's People

Contributors

dmaziuk avatar elulrich avatar jonwedell avatar rsiegl avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmrbdep's Issues

Pre-fill issue with Molecular entity and Molecular assembly

When you do either of the pre-fill options it changes the Sf_framecode of the assembly to whatever the name of the assembly is. In the three entries I tested two of them had it where the entity and assembly both had the same Sf_framecode's so it kept bringing up an error. To fix it I changed the assembly name, but noticed that you cannot change the entity name. Every time I tried to change it it would restore itself to whatever was in the reference entry. I think this has something to do with the fix implemented in issue #49 .

_Chem_comp.Image_file_name has issues

This tag would allow you to select which image file you uploaded, but no image file type is defined in the standard file upload types dictionary. Therefore the tag has an empty enumeration list. I imagine ADIT had custom code for handling uploaded images. Need to discuss with Eldon best way to address this.

All radio buttons are set to the same value

On a page with multiple radio buttons for the yes/no selection, if you select one of the options it sets all other options on that page to the same value. For example on the Ligands, Cofactors, etc. page if you select yes for paramagnetic the aromatic option is put to yes. If you change the value for aromatic it also changes the paramagnetic selection. This seems to be happening on all pages with the radio buttons.

Name vs Sf_framecode

For both Molecular assembly and Ligands, cofactors, etc. the very first field, for name, always resets to chem_comp_1 or assembly_1 (the 1 is replaced by 2 if you duplicate or add a new section) regardless of what you type in. The help says that both of these fields point to the name section, but the fact that it keeps resetting to the above values makes me feel like it's pointing to Sf_framecode. It currently sets both the name and Sf_framecode values when you submit it. I am not sure if there is a reason for this or if perhaps these should be two different fields.

Data files complete before type selection

The "data files" saveframe can get a valid status after uploading files but prior to selecting a data type for the files. This should not be allowed. It may be better to update the dictionary than build in a custom validation rule.

Miscellaneous graphical/UI tweaks suggested by graphical designer friend

  1. Ensure font casing consistency throughout application (title casing versus sentence casing)
  2. Change font - check Google fonts
  3. Add hover tips on tree menu
  4. Error red too red
  5. Explain you can either go section by section or use tree to navigate
  6. Black text with red asterisk for mandatory fields rather than red text
  7. Legend to explain mandatory fields toggle - no longer relevant, this option is hidden
  8. Make plus button to add row in loop tab-able (no way to click it if using only keyboard with no mouse)
  9. Do a better job than just an indentation to visually indicate that loops are children of their parents. Perhaps put them in a grey box?

Discuss user view issues

Need a discussion on how some kinds of information will be displayed to the user. STAR requirements like $ for frame code values and no white space in values that will become frame codes.

Add super group names to adit_cat_grp_o.csv file

Currently the file adit_cat_grp_o.csv describes the super groups to use for the deposition interface, but it doesn't provide the readable names for them. I imagine ADIT has this hardcoded, because I can't track down the values that ADIT actually displays.

I added my own hardcodings in 20a9f57 but I would like to remove them if we can add these values to adit_cat_grp_o.csv. @elulrich - is this a change we can make?

Saveframe ordering is different in xlschem_ann and adit_cat_grp_o.csv

InstantDep originally displayed the saveframes using the order tags from xlschem_ann.csv. adit_cat_grp_o.csv has a different ordering of the saveframes. This means that the "next category" and "previous category" buttons don't work as intended with the new supergroups, as they are still navigating using the native order of the NMR-STAR file rather than the order from adit_cat_grp_o.csv. @elulrich - should I use the ordering from the super groups file or the one from the main schema?

'General tensors' in default view but gone after data file upload

'General tensors' appears in left hand box when user first enters deposition system (dictionary issue). However, the prompt disappears after a data file is selected and uploaded.

As for all of the 'Remove' issues that were just submitted, these prompts/selections appear in the left hand box before any data files are uploaded.

Standardize name -> sf_framecode mapping

For all saveframes that have a "Name" tag, that tag should be visible and the "sf_framecode" should be hidden - it will be set automatically from the sanitized "Name" value.

An example of a saveframe that needs to be fixed is the Software saveframe.

Change NMR experiments and samples to NMR experiments

In left had box change 'NMR experiments and samples' to 'NMR experiments' or 'NMR experiment descriptions'. Including 'samples' in this prompt can be confusing as users might be confused and think they have to enter sample information in two different places.

Deleting Required Sections

If you go to the sample page, which is a required field, you have the option to hit delete. Upon doing so it removes the page from the sidebar menu and you cannot access it from the next/previous category buttons either. Immediately after deleting the selection the following appears "No matching saveframes found in this entry. Click here to return to a category that exists." This can be done for any page that has the delete option at the top and I have yet to find a way to recover the deleted sections. I think these pages should be like the Citations and Molecular entity page where the first block does not have a delete option, but subsequent ones do.

Display Non-mandatory tags button

  1. The display non-mandatory tags button is only visible in the side bar menu. Should that be visible on every page at the top by the next category buttons?

  2. When you click it and it hides the non-mandatory tags it changes the sizing of nearly everything. This is from when a non-mandatory tag is bigger than a mandatory tag. When the larger non-mandatory tag disappears it resizes whatever screen your on to the smaller tags that are mandatory. For example this happens on the side bar menu itself and moves the location of the non-mandatory/mandatory button to the line below.

  3. If you are on a non-mandatory page and then click the on-mandatory/mandatory button to hide the non-mandatory fields, the page goes blank (as expected), but both of the next/previous category buttons become review deposition buttons. A next mandatory or previous mandatory category button could be useful here. The next category that is mandatory could just appear also rather than having the page become blank, but I am not sure how easy that would be to do.

Erroneous error message - invalid email address

Received an 'invalid email address' message after entering email and then clicking on the start deposition button. Email was correct and when hit the start deposition button again deposition did start.

File selector doesn't work for "other" data types

To reproduce:

  1. Upload a file, select type as "Other kinds of data".
  2. Go to chem_shift_perturbation saveframe and try to select the file

Nothing appears because the file selection is based on the saveframe category defined in the data upload types schema.

Typo in tag description

The tag _Chem_shift_reference.Carbon_shifts_flag has a typo in it's interface text. The current text is "13C chemcial shifts deposited" but it should be "13C chemical shifts deposited".

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.