Skip to content

Commit

Permalink
fix bug with one integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Barrero Rodríguez committed Mar 1, 2022
1 parent 1951b1f commit b848f29
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
!/ShinyApp/log/log.txt
/ShinyApp/tmp/*
!/ShinyApp/tmp/rds.txt
/*.zip
/*.zip
.Rhistory
9 changes: 6 additions & 3 deletions ShinyApp/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ReportStats-iSanXoT v0.2</title>
<title>ReportStats-iSanXoT v0.2.1</title>

<!--
<link rel="stylesheet" href="assets/bootstrap.min.css">
Expand All @@ -26,7 +26,7 @@
<div>
<img src="favicon.ico" height="150">
</div>
<h1 class="display-2 text-center align-self-center ml-2">ReportStats - iSanXoT<span style="font-size:0.3em">v0.2</span></h1>
<h1 class="display-2 text-center align-self-center ml-2">ReportStats - iSanXoT<span style="font-size:0.3em">v0.2.1</span></h1>
</div>


Expand Down Expand Up @@ -374,7 +374,10 @@ <h1 class="display-6 text-center">Hypothesis Testing</h1>
// get data
obj['jobID'] = message['jobID'];
obj['objPath'] = message['objPath'];
obj['integrationSet'] = message['integrationSet'];

obj['integrationSet'] = typeof(message['integrationSet']) == 'string' ?
Array(message['integrationSet']) : message['integrationSet'];

obj['sampleSet'] = message['sampleSet'];
console.log('Integration Data Received');

Expand Down
9 changes: 9 additions & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
import shutil
import sys
import glob

# main function
if __name__ == "__main__":
Expand All @@ -18,5 +19,13 @@
shutil.copytree(os.path.join(home, "Launcher"), os.path.join(version_dir, "Launcher"))
shutil.copyfile(os.path.join(home, "ReportStats-iSanXoT.bat"), os.path.join(version_dir, "ReportStats-iSanXoT.bat"))

files = glob.glob(version_dir + "/ShinyApp/log/*")
for f in files:
os.remove(f)

files = glob.glob(version_dir + "/ShinyApp/tmp/*")
for f in files:
os.remove(f)

shutil.make_archive(versionName, "zip", home, versionName)
shutil.rmtree(version_dir)

0 comments on commit b848f29

Please sign in to comment.