From 8ad7b0c87c3f93250c139075596821d25ca6f048 Mon Sep 17 00:00:00 2001 From: phoman14 Date: Mon, 29 Jun 2026 23:37:54 -0400 Subject: [PATCH 1/5] Split visualization parameters by plot type --- .codeocean/app-panel.json | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/.codeocean/app-panel.json b/.codeocean/app-panel.json index 43b6d07..97243c4 100644 --- a/.codeocean/app-panel.json +++ b/.codeocean/app-panel.json @@ -28,6 +28,24 @@ "name": "Advanced", "description": "Advanced parameters", "icon": "📂" + }, + { + "id": "VisGeneral", + "name": "Visualization: General", + "description": "General visualization and plotting options", + "icon": "\ud83d\udcca" + }, + { + "id": "VisBarChart", + "name": "Visualization: Bar Chart", + "description": "Bar chart visualization options", + "icon": "\ud83d\udcca" + }, + { + "id": "VisPieChart", + "name": "Visualization: Pie Chart", + "description": "Pie chart visualization options", + "icon": "\ud83d\udcca" } ], "parameters": [ @@ -160,7 +178,7 @@ }, { "id": "R8dK2pV5yQ1tS6x9", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisGeneral", "name": "Label font size", "param_name": "label_font_size", "description": "Font size for labels in plots", @@ -170,7 +188,7 @@ }, { "id": "p2X7mN4vT6cL1hQ9", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisGeneral", "name": "Label distance", "param_name": "label_distance", "description": "Distance of labels from bars", @@ -180,7 +198,7 @@ }, { "id": "h1V6xQ3mT9kB2nR7", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisBarChart", "name": "Y-axis expansion", "param_name": "y_axis_expansion", "description": "Expansion of the y-axis", @@ -190,7 +208,7 @@ }, { "id": "K9cP1rV6xT3mQ7nB", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisGeneral", "name": "Fill colors", "param_name": "fill_colors", "description": "Comma-separated fill colors for bars", @@ -200,7 +218,7 @@ }, { "id": "L5mT8yQ2vR1nX6cP", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisPieChart", "name": "Pie chart in 3D", "param_name": "pie_chart_in_3d", "description": "Whether to draw pie charts in 3D", @@ -210,7 +228,7 @@ }, { "id": "B6tQ1pV8mR3xN2cL", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisBarChart", "name": "Bar width", "param_name": "bar_width", "description": "Width of bars", @@ -220,7 +238,7 @@ }, { "id": "x3M7nQ1tV9kR5cB2", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisBarChart", "name": "Draw bar border", "param_name": "draw_bar_border", "description": "Whether to draw borders around bars", @@ -230,7 +248,7 @@ }, { "id": "Y4nR2pX7mL1vQ6cT", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisGeneral", "name": "Plot type", "param_name": "plot_type", "description": "Plot type: bar or pie", @@ -240,7 +258,7 @@ }, { "id": "t6P3mQ9vR1xK7nB2", - "category": "FvI4Z2eb9sjL47Jt", + "category": "VisGeneral", "name": "Plot titles fontsize", "param_name": "plot_titles_fontsize", "description": "Font size for plot titles", From d5dcccc45bd4a06ac0d21b342050a505b87bb3ee Mon Sep 17 00:00:00 2001 From: phoman14 Date: Tue, 30 Jun 2026 00:28:36 -0400 Subject: [PATCH 2/5] Move Advanced category to end --- .codeocean/app-panel.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.codeocean/app-panel.json b/.codeocean/app-panel.json index 97243c4..3c90dca 100644 --- a/.codeocean/app-panel.json +++ b/.codeocean/app-panel.json @@ -23,12 +23,6 @@ "name": "Basic", "icon": "📂" }, - { - "id": "FvI4Z2eb9sjL47Jt", - "name": "Advanced", - "description": "Advanced parameters", - "icon": "📂" - }, { "id": "VisGeneral", "name": "Visualization: General", @@ -46,6 +40,12 @@ "name": "Visualization: Pie Chart", "description": "Pie chart visualization options", "icon": "\ud83d\udcca" + }, + { + "id": "FvI4Z2eb9sjL47Jt", + "name": "Advanced", + "description": "Advanced parameters", + "icon": "📂" } ], "parameters": [ From 060bb861a3c81a9239de34fb69bd7bbdec37e161 Mon Sep 17 00:00:00 2001 From: phoman14 Date: Tue, 30 Jun 2026 01:01:40 -0400 Subject: [PATCH 3/5] Use list controls for boolean parameters --- .codeocean/app-panel.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.codeocean/app-panel.json b/.codeocean/app-panel.json index 3c90dca..4feaa51 100644 --- a/.codeocean/app-panel.json +++ b/.codeocean/app-panel.json @@ -124,9 +124,13 @@ "name": "Round estimates", "param_name": "round_estimates", "description": "Whether to round estimates", - "type": "text", + "type": "list", "value_type": "string", - "default_value": "TRUE" + "default_value": "TRUE", + "extra_data": [ + "TRUE", + "FALSE" + ] }, { "id": "m9K2pX4bV7nT1eR6", @@ -222,9 +226,13 @@ "name": "Pie chart in 3D", "param_name": "pie_chart_in_3d", "description": "Whether to draw pie charts in 3D", - "type": "text", + "type": "list", "value_type": "string", - "default_value": "TRUE" + "default_value": "TRUE", + "extra_data": [ + "TRUE", + "FALSE" + ] }, { "id": "B6tQ1pV8mR3xN2cL", @@ -242,9 +250,13 @@ "name": "Draw bar border", "param_name": "draw_bar_border", "description": "Whether to draw borders around bars", - "type": "text", + "type": "list", "value_type": "string", - "default_value": "TRUE" + "default_value": "TRUE", + "extra_data": [ + "TRUE", + "FALSE" + ] }, { "id": "Y4nR2pX7mL1vQ6cT", From cc1f654679ea8a66c5404a1fbbe92da349b95f93 Mon Sep 17 00:00:00 2001 From: phoman14 Date: Tue, 30 Jun 2026 13:40:35 -0400 Subject: [PATCH 4/5] Update changelog for parameter UI changes --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aa0357..dbbcc33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Code Ocean capsule - MOSuite - filter differential expression results +## Development version + +- Improved the Code Ocean parameter UI for the filter diff capsule (#2). + ## v2.0 - Standardize app panel across MOSuite capsules. @@ -10,4 +14,4 @@ Initial release - `54a711a` \ No newline at end of file + `54a711a` From abbbee2ebd6d25c94326e0ffc3fcd9859aa03eb0 Mon Sep 17 00:00:00 2001 From: phoman14 Date: Tue, 30 Jun 2026 14:10:58 -0400 Subject: [PATCH 5/5] Add author handle to changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbbcc33..57756db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Development version -- Improved the Code Ocean parameter UI for the filter diff capsule (#2). +- Improved the Code Ocean parameter UI for the filter diff capsule (#2, @phoman14). ## v2.0