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

Feature: enhance zipped submissions support #144

Merged

Conversation

syphax-bouazzouni
Copy link

Changes

@alexskr alexskr requested a review from mdorf July 7, 2022 22:23
@syphax-bouazzouni syphax-bouazzouni changed the title Enhance zipped submissions support Feature: enhance zipped submissions support Sep 14, 2022
@alexskr
Copy link
Member

alexskr commented Dec 15, 2022

Is it worth adding a unit test for zipped file submission?

@syphax-bouazzouni
Copy link
Author

Is it worth adding a unit test for zipped file submission?

Yeah indeed, I will do it. (you don't have a lot of gzipped resources in Bioportal, but some zip (22))
In the future, resources will be bigger and bigger, and a lot will be zipped, so yeah being solid on that would be necessary.

Anyway, in my following PRs, I will do specific tests for each of them (now that I master more our system of tests)

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Merging #144 (29153b6) into master (4f9139d) will decrease coverage by 0.08%.
The diff coverage is 80.59%.

@@            Coverage Diff             @@
##           master     #144      +/-   ##
==========================================
- Coverage   80.72%   80.63%   -0.09%     
==========================================
  Files          63       63              
  Lines        4851     4876      +25     
==========================================
+ Hits         3916     3932      +16     
- Misses        935      944       +9     
Flag Coverage Δ
unittests 80.63% <80.59%> (-0.09%) ⬇️

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

Impacted Files Coverage Δ
...tologies_linked_data/models/ontology_submission.rb 78.06% <76.31%> (-0.52%) ⬇️
lib/ontologies_linked_data/utils/file.rb 72.89% <85.18%> (+1.61%) ⬆️
lib/ontologies_linked_data/diff/bubastis_diff.rb 76.19% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@syphax-bouazzouni
Copy link
Author

syphax-bouazzouni commented Dec 16, 2022

- Misses        935      944       +9    

I love this system of Code coverage Report, great work @alexskr (any plans for other GitHub actions on your side?)

@alexskr
Copy link
Member

alexskr commented Dec 19, 2022

I love this system of Code coverage Report, great work @alexskr (any plans for other GitHub actions on your side?)

yes, the plan is to enable code coverage reports on most projects

@mdorf
Copy link
Member

mdorf commented Sep 19, 2023

I have not had the chance to investigate the issue, but one of our colleagues from RADx tried submitting an ontology in GZIP (.GZ) format, and the parsing failed. When he re-submitted it as a ZIP file, the parsing succeeded. At this point, I don't have the bandwidth to investigate further; just wanted to record a note of this behavior.

@alexskr
Copy link
Member

alexskr commented Sep 19, 2023

gzipped ontology submission gets processes correctly when run with ncbo_process_ontology script in ncbo_cron project but fails when it is run as a ncbo_cron job. I think ncbo/ncbo_cron#55 is supposed to fix this.

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.

3 participants