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

Support streaming and add new API #50

Closed
wants to merge 4 commits into from

Conversation

yuehhua
Copy link
Contributor

@yuehhua yuehhua commented Jan 30, 2023

Resolved #42
There is new exported API readinfo separated from mmread with argument infoonly=true.

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2023

Codecov Report

Merging #50 (51d5711) into master (518ef4c) will increase coverage by 79.67%.
The diff coverage is 79.56%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff             @@
##           master      #50       +/-   ##
===========================================
+ Coverage    0.00%   79.67%   +79.67%     
===========================================
  Files           1        8        +7     
  Lines          93      187       +94     
===========================================
+ Hits            0      149      +149     
+ Misses         93       38       -55     
Impacted Files Coverage Δ
src/MatrixMarket.jl 100.00% <ø> (+100.00%) ⬆️
src/format.jl 37.14% <37.14%> (ø)
src/generate.jl 66.66% <66.66%> (ø)
src/utils.jl 80.00% <80.00%> (ø)
src/interface.jl 92.15% <92.15%> (ø)
src/reader.jl 92.85% <92.85%> (ø)
src/parse.jl 92.98% <92.98%> (ø)
src/matrix.jl 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@tkonolige tkonolige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @yuehhua thanks for the PR! It seems like you are doing a lot of things:

  1. Splitting the main file into multiple files
  2. Supporting gziped files
  3. Moving readinfo from a flag to separate function
  4. A large refactoring of the parsing code

(And maybe I'm missing some more?)

Could you split these changes into separate PRs so that they are easier to review and discuss.

@yuehhua
Copy link
Contributor Author

yuehhua commented Feb 3, 2023

I have separated 1 and 3 into individual PR. The rest features would follow after PR merged.

@yuehhua yuehhua closed this Feb 13, 2023
@yuehhua yuehhua deleted the stream branch February 13, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow read and write from a stream for better compression support
3 participants