-
Notifications
You must be signed in to change notification settings - Fork 4
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
add reference output #39
base: main
Are you sure you want to change the base?
Conversation
Automated Review URLs |
Hi @willow-ahrens, just took a look and ran into two issues with my parser:
|
I think it should be fixed now! |
I'm still not seeing a version in the HDF5, which is causing my parser to fail. Here's what I see in
Could we add a |
oops! I fixed Finch but I didn't regenerate the reference files. I have checked there is a version, it looks like it's currently set to 0.1. Should we set it to 1.0? Regarding tensor vs. matrix formats, I think that tensors should be v1.0, but tensor parsers should normalize to the matrix format tags whenever possible. If it helps, we could define a key that tells us if there is tensor stuff. Whether or not there are tensor formats feels orthogonal to 1.0 vs 2.0. We may one day want to upgrade matrix version from 1.0 to 2.0, but that shouldn't have to mean the upgraded version needs to support tensors. |
I can see the version there now, but it's stored as a string, not a number ( That makes sense about adding a key for the tensor extensions. I added a note to the agenda for our next meeting about that. |
Are we sure we want to store versions as numbers? you mean a floating point number? |
It would be best to have it as a string or as an array of 3 integers.
Version 1.12 > 1.2 for example.
|
And also a number can’t be 1.2.3.
|
Okay, so it sounds like we're going with a string version, where the string must satisfy the regex e.g., there's a major and minor version number only. |
@willow-ahrens I can read the binsparse files successfully now, but I have a couple of issues with the Matrix Market files. Would it be possible to just use the raw files from SuiteSparse Matrix Collection? My parser doesn't work on the |
I'll try to fix my matrixmarket today |
@BenBrock I investigated this, and updated the matrixmarket writer to use |
Thanks, I can read the Matrix Market files, although I do still have a little problem with the rows/columns, which appear to me to be swapped in the Binsparse files. Here's
There's a stored value at
I've highlighted our indices with Not sure exactly where things are going wrong---maybe you're defaulting to |
Ah, I see. I think I caught it, it was on my side, the writer for COO was mixing up the numbering of the levels. |
This PR adds reference output for binsparse matrices and vectors @BenBrock @ivirshup. fixes #38