Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memote as a web-service #238

Closed
ChristianLieven opened this issue Oct 13, 2017 · 4 comments
Closed

Memote as a web-service #238

ChristianLieven opened this issue Oct 13, 2017 · 4 comments

Comments

@ChristianLieven
Copy link
Contributor

In collaboration with @zakandrewking, we'd like to offer a 'drag&drop' (upload a model, click a "test" button and then see the results as html page) service to execute the memote snapshot report hosted on the BiGG models website.

@ChristianLieven
Copy link
Contributor Author

This is another facet of issue #27

@penuts7644
Copy link

With some relative simple javascript code you can add the drag and drop support.

element.on('drop', function(e) {
    e.preventDefault();
    e.stopPropagation();
    var file = e.dataTransfer.files[0];
    readData(file);  // Function in which you would read the SBML model file
});

In the readData function you can define a FileReader, read the text file and parse it with if necessary.
You have to look out for the 'dragover' and 'dragenter' attributes for the element.on function, you might need to apply the same preventDefault() and stopPropagation() functions.

@zakandrewking
Copy link

We are exploring this now. Current progress happening here:

aebrahim/cobra_sbml_validator#6

@jjkoehorst
Copy link

What could be of great interest to reach a larger public is perhaps integration with FAIRDOM? https://www.fairdomhub.org/ they have a SEEK interface in which models can be shared, versioning etc, and have some modules included for running models. A model validator would be a great addition I think...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants