diff --git a/ShinyApp/public/index.html b/ShinyApp/public/index.html
index 934178a..1248b57 100644
--- a/ShinyApp/public/index.html
+++ b/ShinyApp/public/index.html
@@ -82,7 +82,7 @@
Sample Type
-
+
@@ -148,15 +148,15 @@
Hypothesis Testing
var obj = createObj();
// Define functions
- integrationButtonGenerator = function(id) {
+ integrationButtonGenerator = function(id, widthLetter) {
let btn = ``;
+ style="width:${12*widthLetter+100}px;" onclick="integrationSelect(this)">${id}`;
return btn;
}
- sampleButtonGenerator = function(id) {
+ sampleButtonGenerator = function(id, widthLetter) {
let btn = ``;
+ style="width:${8.5*widthLetter+100}px;" onclick="sampleSelect(this)">${id}`;
return btn;
}
@@ -197,6 +197,8 @@ Hypothesis Testing
if (groupName == "") return;
+ groupName = groupName.replace(/\s/g, "_");
+
if (Object.keys(obj['sampleGroups']).includes(groupName)) return;
if (obj['sample_tmp'].length < 2) {
@@ -379,12 +381,14 @@ Hypothesis Testing
// buttons
$("#integrationData").show();
+ let widthLetter = (Math.max(...obj['integrationSet'].map(value => value.length)));
obj['integrationSet'].forEach((value) => {
- $("#integrationSet").append(integrationButtonGenerator(value));
+ $("#integrationSet").append(integrationButtonGenerator(value, widthLetter));
});
+ widthLetter = (Math.max(...obj['sampleSet'].map(value => value.length)));
obj['sampleSet'].forEach((value) => {
- $("#sampleSet").append(sampleButtonGenerator(value));
+ $("#sampleSet").append(sampleButtonGenerator(value, widthLetter));
});
})
diff --git a/release.py b/release.py
index 3fc7479..11ed4be 100644
--- a/release.py
+++ b/release.py
@@ -16,7 +16,7 @@
shutil.copytree(os.path.join(home, "R-Portable"), os.path.join(version_dir, "R-Portable"))
shutil.copytree(os.path.join(home, "ShinyApp"), os.path.join(version_dir, "ShinyApp"))
shutil.copytree(os.path.join(home, "Launcher"), os.path.join(version_dir, "Launcher"))
- shutil.copyfile(os.path.join(home, "iSanXoT-LIMMA.bat"), os.path.join(version_dir, "iSanXoT-LIMMA.bat"))
+ shutil.copyfile(os.path.join(home, "ReportStats-iSanXoT.bat"), os.path.join(version_dir, "ReportStats-iSanXoT.bat"))
shutil.make_archive(versionName, "zip", home, versionName)
shutil.rmtree(version_dir)
\ No newline at end of file