Skip to content

Commit 1de35f6

Browse files
authored
feat(app-panel): improve parameter UI (#3)
* Update count_type to list with raw, clean, filt options (default: filt) * Update count_type to list with raw, clean, filt, norm options (default: norm) * Move count_type to first position in Basic category, remove extra category * Split visualization parameters by plot type * Move Advanced category to end * Update changelog for parameter UI changes * Add author handle to changelog entry
1 parent 88b53d3 commit 1de35f6

2 files changed

Lines changed: 29 additions & 13 deletions

File tree

.codeocean/app-panel.json

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
"name": "Basic",
1818
"icon": "📂"
1919
},
20+
{
21+
"id": "VisGeneral",
22+
"name": "Visualization: General",
23+
"description": "General visualization and plotting options",
24+
"icon": "\ud83d\udcca"
25+
},
2026
{
2127
"id": "XqgPq28Eo5VCFSZu",
2228
"name": "Advanced",
@@ -25,6 +31,22 @@
2531
}
2632
],
2733
"parameters": [
34+
{
35+
"id": "UA4GuIpVAxdcmHAG",
36+
"category": "gn9FXwemlVazWQIo",
37+
"name": "Count type",
38+
"param_name": "count_type",
39+
"description": "Type of counts to batch correct. Must be a count type in names(moo@counts)",
40+
"type": "list",
41+
"value_type": "string",
42+
"default_value": "norm",
43+
"extra_data": [
44+
"raw",
45+
"clean",
46+
"filt",
47+
"norm"
48+
]
49+
},
2850
{
2951
"id": "vB4qNnRxLt9oAy2d",
3052
"category": "gn9FXwemlVazWQIo",
@@ -46,16 +68,6 @@
4668
"value_type": "string",
4769
"default_value": "Group"
4870
},
49-
{
50-
"id": "UA4GuIpVAxdcmHAG",
51-
"category": "XqgPq28Eo5VCFSZu",
52-
"name": "Count type",
53-
"param_name": "count_type",
54-
"description": "Type of counts to batch correct. Must be a count type in names(moo@counts)",
55-
"type": "text",
56-
"value_type": "string",
57-
"default_value": "norm"
58-
},
5971
{
6072
"id": "vA3pMmQwKs8nZx1c",
6173
"category": "XqgPq28Eo5VCFSZu",
@@ -88,7 +100,7 @@
88100
},
89101
{
90102
"id": "vG9vSsWcQy4tFz7i",
91-
"category": "XqgPq28Eo5VCFSZu",
103+
"category": "VisGeneral",
92104
"name": "Label column name",
93105
"param_name": "label_colname",
94106
"description": "Column from sample metadata containing labels for plots",
@@ -108,7 +120,7 @@
108120
},
109121
{
110122
"id": "vJ2yVvZfTb7wIc0l",
111-
"category": "XqgPq28Eo5VCFSZu",
123+
"category": "VisGeneral",
112124
"name": "Colors for plots",
113125
"param_name": "colors_for_plots",
114126
"description": "Comma-separated list of colors for PCA and histogram",

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Code Ocean capsule - MOSuite - batch correct counts
22

3+
## Development version
4+
5+
- Improved the Code Ocean parameter UI for the batch correct counts capsule (#3, @phoman14).
6+
37
## v4.0
48

59
- The MOSuite package is now available in `code/MOSuite`. (#2)
@@ -20,4 +24,4 @@ Use MOSuite v0.2.1-dev docker image
2024

2125
Initial release
2226

23-
<https://poc-nci.codeocean.io/capsule/1373453/tree/v1> `dd55143`
27+
<https://poc-nci.codeocean.io/capsule/1373453/tree/v1> `dd55143`

0 commit comments

Comments
 (0)