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

Fix: ttl format insert by disabling the chunk insert for that format #156

Merged
merged 2 commits into from
May 13, 2024

Conversation

syphax-bouazzouni
Copy link

fix #155

@syphax-bouazzouni syphax-bouazzouni changed the title Fix: ttl format insert by disaling the chunk insert for that format Fix: ttl format insert by disabling the chunk insert for that format May 10, 2024
@syphax-bouazzouni syphax-bouazzouni changed the base branch from master to develop May 10, 2024 17:59
@codecov-commenter
Copy link

codecov-commenter commented May 10, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 86.98%. Comparing base (f2751fe) to head (2db3f71).
Report is 5 commits behind head on develop.

Files Patch % Lines
lib/goo/sparql/client.rb 63.63% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #156      +/-   ##
===========================================
- Coverage    87.05%   86.98%   -0.08%     
===========================================
  Files           36       36              
  Lines         2626     2627       +1     
===========================================
- Hits          2286     2285       -1     
- Misses         340      342       +2     
Flag Coverage Δ
unittests 86.98% <63.63%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

dir = nil
response = nil
if file_path.end_with?('ttl')
bnodes_filter = file_path
file = File.foreach(bnodes_filter)
Copy link
Member

Choose a reason for hiding this comment

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

File.read must be used instead of File.foreach here; file content is not getting loaded.

Copy link
Author

Choose a reason for hiding this comment

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

I updated it

Copy link
Author

Choose a reason for hiding this comment

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

someday we will need to add unit tests to this.

@alexskr alexskr merged commit 70007fa into ncbo:develop May 13, 2024
4 checks passed
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.

TTL file load errors due to chunked data loading feature
3 participants