Skip to content

Commit

Permalink
Merge branch 'beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
Eileen Choe committed Apr 29, 2018
2 parents 345e9f8 + 0e8eadf commit a63c29f
Show file tree
Hide file tree
Showing 33 changed files with 15,313 additions and 3,830 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ test-files/
web-client/public/lib/
web-client/public/js/jquery-1.11.0.min.js
web-client/public/js/imagesloaded.pkgd.min.js
web-client/public/js/grnsight.min.js
7 changes: 7 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ env:
node: true
jquery: true
mocha: true
es6: true
extends: 'eslint:recommended'
parserOptions:
ecmaVersion: 6
sourceType: module
ecmaFeatures:
jsx: true
modules: true
rules:
indent:
- error
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lib-cov
~$*.xls

documents/developer_documents/testing_script_generator/GRNsightTestingDocument.pdf
web-client/public/js/grnsight.min.js

pids
logs
Expand All @@ -22,7 +23,6 @@ node_modules
*.pem
*.p12

.bundle
_gh_pages

coverage/
Expand Down

Large diffs are not rendered by default.

421 changes: 330 additions & 91 deletions documents/developer_documents/testing_script_generator/featureList.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var addChildren = function (arrayOfNodes, optionKeys, test) {
optionKeys.forEach(function(option) {
var instruction = test.title + " - " + option;
var result = test.text + " " + test.options[option];
result = test.conditional ? test.conditional + ", " + result : result;
result = test.conditional ? result + ", " + test.conditional : result;
var newNode = new Node();
// The null option is equivalent to disabling the test.
if (option !== "NULL") {
Expand Down Expand Up @@ -91,12 +91,10 @@ grnsightOptions.forEach(function(test) {
var unweightedGraphLoadedAvailability = test.availability['UnWeightedGraphLoaded'] ? "YES": "NO";
var availability = `| ${noGraphLoadedAvailability} | ${weightedGraphLoadedAvailability} | ${unweightedGraphLoadedAvailability} | `
optionKeys.forEach(function(option) {
if (option !== "NULL") {
var result = test.text + " " + test.options[option];
result = test.conditional ? result + " " + test.conditional : result;
testDescription += entry + option + " | " + result + "|\n";
availabilityDescription += `| ${test.title} - ${option} ${availability}\n`
}
var result = test.text + " " + test.options[option];
result = test.conditional ? result + ", " + test.conditional : result;
testDescription += entry + option + " | " + result + "|\n";
availabilityDescription += `| ${test.title} - ${option} ${availability}\n`
});
});

Expand Down
Loading

0 comments on commit a63c29f

Please sign in to comment.