Closed MauriceHendrix closed 2 years ago
Merging #362 (4215be6) into master (04ece2b) will increase coverage by
0.38%
. The diff coverage is98.36%
.
@@ Coverage Diff @@
## master #362 +/- ##
==========================================
+ Coverage 95.25% 95.64% +0.38%
==========================================
Files 68 75 +7
Lines 3902 4388 +486
Branches 398 471 +73
==========================================
+ Hits 3717 4197 +480
- Misses 134 141 +7
+ Partials 51 50 -1
Impacted Files | Coverage Δ | |
---|---|---|
weblab/config/urls.py | 100.00% <ø> (ø) |
|
weblab/stories/apps.py | 45.45% <45.45%> (ø) |
|
weblab/entities/views.py | 92.61% <86.66%> (-0.14%) |
:arrow_down: |
weblab/conftest.py | 97.81% <100.00%> (+0.05%) |
:arrow_up: |
weblab/core/recipes.py | 100.00% <100.00%> (ø) |
|
weblab/entities/apps.py | 100.00% <100.00%> (ø) |
|
weblab/entities/signals.py | 100.00% <100.00%> (ø) |
|
weblab/experiments/views.py | 99.22% <100.00%> (+0.06%) |
:arrow_up: |
weblab/stories/admin.py | 100.00% <100.00%> (ø) |
|
weblab/stories/forms.py | 100.00% <100.00%> (ø) |
|
... and 6 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 3f817e3...4215be6. Read the comment docs.
How did this PR get to 1655 commits?
Screenshots look good to me except for the checkboxes: I'd expect us to have lots and lots of models, so that you'd want one of those drop-down boxes that you can type in instead?
How did this PR get to 1655 commits? I was committing as root, when I updated the username on that it seemed to think existing commits wer new ones for some reason.
Screenshots look good to me except for the checkboxes: I'd expect us to have lots and lots of models, so that you'd want one of those drop-down boxes that you can type in instead?
arggh that would be much easier and is the default but @mirams didn't like it and wanted checkboxes
dropdown you can type in to search is fine (as well as checkboxes, it could auto-select the checkboxes?). I just don't like the django-style list of all of them in a scroll window thing that you have to ctrl-click and look down
dropdown you can type in to search is fine (as well as checkboxes, it could auto-select the checkboxes?). I just don't like the django-style list of all of them in a scroll window thing that you have to ctrl-click and look down
not quite sure what you mean with auto-select the checkboxes? When editig it obviously pre-selects the ones that are included with the modelgroup if that's what you mean
Maurice and I had a chat and decided something like this might be optimal:
(The above can be a new ticket for improvements later on, doesn't need to slow down merging in if we want to do more user testing)
see https://cardiac.nottingham.ac.uk/weblab to see it in action
In the first form when you create a story: Graphvisualizer --> Graph visualizer
Select model (group) --> Select model or model group
To render the story, I'm having to save, then use the back button to see the results again.
Can we change the "Save" button to "Save and re-run" + "Save and exit" ?
To render the story, I'm having to save, then use the back button to see the results again.
Can we change the "Save" button to "Save and re-run" + "Save and exit" ?
What do you mean re-run? Do you mean save & go to the render? Would you prefer to always do that also when you first create the story (which would be a super easy fix) or only in sime circomstances or...? Of course we can have save & view as well as save & exit if you want.
I just want to see what I made! So some button that makes the graphs show up, without sending me to a different page
Can we select the "default graph" by default? Or indicate it somehow in the list? Quite hard to pick the correct one from a list of 10 unfamiliar names
I just want to see what I made! So some button that makes the graphs show up, without sending me to a different page
Can we select the "default graph" by default? Or indicate it somehow in the list? Quite hard to pick the correct one from a list of 10 unfamiliar names
The default graph? How do I know which one is the default one. I've not seen that info anywhere. Is it just the first one in the list of alphabetically or ..?
@jonc125 how does the normal interface know which graph to show for a particular experiment?
What do you mean re-run? Do you mean save & go to the render? Would you prefer to always do that also when you first create the story (which would be a super easy fix) or only in sime circomstances or...? Of course we can have save & view as well as save & exit if you want.
In jupyter, you can render each cell (text or code) directly after creating. Do you think that's possible? If not, can we do it for graphs at least? I need to be able to see if I picked the right graph after I add one to the story
What do you mean re-run? Do you mean save & go to the render? Would you prefer to always do that also when you first create the story (which would be a super easy fix) or only in sime circomstances or...? Of course we can have save & view as well as save & exit if you want.
In jupyter, you can render each cell (text or code) directly after creating. Do you think that's possible? If not, can we do it for graphs at least? I need to be able to see if I picked the right graph after I add one to the story
I think it should be probably possible, not quite sure how to style it clearly as a preview but ok.
@jonc125 how does the normal interface know which graph to show for a particular experiment?
It's the first one listed in outputs-default-plots.csv
@jonc125 how does the normal interface know which graph to show for a particular experiment?
It's the first one listed in outputs-default-plots.csv
ok in that case I'll just get rid of ---- if there are graphs and order them the same as in there, so that the default one will end up selected by default
Right so for previews I can came up with 2 ways of showing it. Which one would you prefer @MichaelClerx @mirams @jonc125 @agrawal-aditi . Either just a preview icon with a pop-up of the chosen graph (whcn clicked) or a (live) preview panel. With teh panel, I'm a bit worried that it'll tempt authors into spending time editing stuff that doesn't save (zoom level, selected items in teh legent). And it may be a bit bulky. (and I suspect the preview button would be slightly easier to implement.)
button is fine by me!
Right graph preview should be working:
Right so I think Model Groups are mostly done (though needs better tests still). Attached you see: