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

libCOMBINE: allow a COMBINE archive to be initialised using some file contents #214

Open
agarny opened this issue Jun 19, 2023 · 0 comments · May be fixed by #320
Open

libCOMBINE: allow a COMBINE archive to be initialised using some file contents #214

agarny opened this issue Jun 19, 2023 · 0 comments · May be fixed by #320
Assignees
Labels
Milestone

Comments

@agarny
Copy link
Contributor

agarny commented Jun 19, 2023

Right now, the only way to initialise a COMBINE archive using libCOMBINE is by providing a file name. However, this means that we can't handle COMBINE archives from JavaScript, unlike for CellML and SED-ML files, for which libCellML and LibSEDML support file contents in their respective constructors.

When it comes to our test with a virtual File object, we should convert the file contents of a COMBINE archive to Base64, so that we can put it in a string, in the same way that we have a string version of a CellML and SED-ML file.


This is even more relevant because of issue #242.


Check discussion here.

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

Successfully merging a pull request may close this issue.

1 participant