Skip to content

Commit

Permalink
Merge branch 'master' into unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanbalci committed Sep 3, 2024
2 parents 45ae747 + cda9e94 commit 4217eef
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ module.exports = function(config) {
autoWatch: false,
concurrency: Infinity
})
}
}
2 changes: 1 addition & 1 deletion sbgnviz.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/utilities/sbgnml-to-gpml-converter-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = function () {


sbgnmlToGpml.convert = function (xml, callback) {
var conversionApiUrl = "https://minerva-dev.lcsb.uni.lu/minerva/api/convert/SBGN-ML:GPML";
var conversionApiUrl = "https://minerva-service.lcsb.uni.lu/minerva/api/convert/SBGN-ML:GPML";

return $.ajax({
type: 'post',
Expand Down
4 changes: 2 additions & 2 deletions src/utilities/sbgnml-to-sbml-converter-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = function () {


sbgnmlToSbml.convert = function (xml, callback) {
var conversionApiUrl = "https://minerva-dev.lcsb.uni.lu/minerva/api/convert/SBGN-ML:SBML";
var conversionApiUrl = "https://minerva-service.lcsb.uni.lu/minerva/api/convert/SBGN-ML:SBML";

return $.ajax({
type: 'post',
Expand All @@ -37,4 +37,4 @@ module.exports = function () {
return sbgnmlToSbml;

}


2 changes: 1 addition & 1 deletion src/utilities/sbml-to-sbgnml-converter-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = function() {


sbmlToSbgnml.convert = function (xml, callback) {
var conversionApiUrl = "https://minerva-dev.lcsb.uni.lu/minerva/api/convert/SBML:SBGN-ML";
var conversionApiUrl = "https://minerva-service.lcsb.uni.lu/minerva/api/convert/SBML:SBGN-ML";

return $.ajax({
type: 'post',
Expand Down
15 changes: 10 additions & 5 deletions src/utilities/ui-utilities-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function () {
}

uiUtilities.startSpinner = function (className) {
if (!className) {
if (!className) {
className = 'default-class';
}

Expand All @@ -36,12 +36,17 @@ module.exports = function () {
$("."+className+'-text').fadeIn(0)
}

uiUtilities.showSpinnerText = function(className)
{
$("."+className+'-text').fadeIn(0)
}

uiUtilities.endSpinner = function (className) {
if (!className) {
className = 'default-class';
}
if (!className) {
className = 'default-class';
}

if ($('.' + className + '-wrapper').length > 0) {
if ($('.' + className + '-wrapper').length > 0) {
$('.' + className + '-wrapper').remove();
}
};
Expand Down
2 changes: 1 addition & 1 deletion test/utilities/sbgnml-to-sbml-converter-factory-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ describe('sbgnmlToSbml', function () {
assert.isOk(result.result);
});
});
});
});
2 changes: 1 addition & 1 deletion test/utilities/sbml-to-sbgnml-converter-factory-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ describe('sbmlToSbgnml', function () {
assert.isOk(result.result);
});
});
});
});

0 comments on commit 4217eef

Please sign in to comment.