-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make node schema maxItemsFrom and molecule aware #62
Conversation
✅ Deploy Preview for wonderful-noether-53a9e8 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
…ording to ajv docs
Also added demo node in molaware catalog See shape 2 at #59 (comment)
…talog from haddock3 31a55a509df2a23ad2baba8400afdec03d1d0530 commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For starters, here are my experiences from testing the new functionality. Some of these might be for follow up, others you might want to address here. I have not yet looked at (all) the code, so will follow up with that.
It is difficult to know which setting belongs to which molecule. It might be helpful to display the name/filename or other metadata aboutthe molecule in the builder. E.g.
Specifications for molecules:
Specification for molecule 5t89:
Is this molecule a shape?
Specification for molecule 4hhb:
Is this molecule a shape?
The selection of residues in molaware catalog -- node 4 is not very intuitive. It works with ctrl/shift, but it might be nicer to have tick boxes or so.
I am able to build a form with start residue number > end residue number. Shouldn't this be invalid?
Occasionally, the text box doesn't render properly (e.g. [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
. Toggling visual/text usually solves the issue.
In haddock expert - under rigidbody, got error message that ['ab initio mode'].rair[0] should be array
. Initially an empty table is shown, adding an empty row fixes it.
The flexref example has a couple of issues:
- You need to add (empty) rows to the tables for
seg
andfle
, otherwise thesubmit
button doesn't work. However, the error message appears at the top, far above my scroll position. - If I start with one molecule, add flexref settings, then go back and add another molecule, there is no extra array item for seg/fle so I cannot modify settings for the second molecule.
- If I remove a molecule, and try to modify flexref for the remaining one, I get
.flexibility.seg should NOT have more than 1 items
, but I cannot remove old items because the second table is no longer rendered.
Upload validation: I get validation errors for both files. Happens in Chrome and Firefox. I expected the valid workflow to succeed. The error messages are very unclear, so something else than the residue number seems to be going wrong.
Thanks for testing out the user interface.
Can be solved later, created #57
Can be solved later, created #72
At the moment there is no way to specifiy that validation rule. We have a lot of other advanced validation we want to work on later, so for now I created #73
I have seen this before, but have not been able to find a way to reproduce it. Created #74 Replies on the rest of your review will follow later. |
Co-authored-by: Peter Kalverla <[email protected]>
This reverts commit ad9750d.
…lder into maxItemsFrom-aware
Otherwise we get conflicting @types/react installs
...
Added workaround to set default to an array.
Added workaround to set default to an array.
You are a thorough tester, that is a usecase I did not think about.
You are a very thorough tester, that is a usecase I did not think about.
Started #75 for clearer error message. |
Spawned #78 . So all review remarks have been fixed or spawned into new issues/PRs. |
Refs #59
To test on small catalog
molaware
catalogTo test on haddock catalog
haddock3expert
catalogrigidbody
node, edit, expand moleculeflexref
node, edit, expand flexibilityTo test validation of upload
haddock3expert
catalog