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

Reconfigure header info during collapseAdats() #99

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

stufield
Copy link
Contributor

@stufield stufield commented Mar 18, 2024

Overview

  • collapseAdats() now does a better job of maintaining useful information when combining ADATs during the collapse
    • PlateScale* and Cal* information is now merged, rather than concatenated, resulting in shorter set of attributes
    • new values in downstream ADATs are maintained, and no longer lost when written
  • the majority of HEADER information is still that of the first, initial ADAT in the list
  • the stopifnot() call gets more clear error message
  • @wschwarzmann

@stufield stufield force-pushed the fix-header-platescale-collapse branch from fb5693f to c4b21b4 Compare March 18, 2024 19:54
- `collapseAdats()` now does a better job of
  maintaining useful information when combining
  ADATs during the collapse
  - `PlateScale*` and `Cal*` information is now
    merged, rather than concatenated, resulting
    in shorter set of attributes
  - new values in downstream ADATs are maintained, and no longer lost when written
- the majority of HEADER information is still
  that of the first, initial ADAT in the list
- the `stopifnot()` call gets more clear error message
- closes SomaLogic#86
@stufield stufield force-pushed the fix-header-platescale-collapse branch from c4b21b4 to 8b15b9e Compare March 18, 2024 20:28
@codecov-commenter
Copy link

Codecov Report

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

Project coverage is 75.71%. Comparing base (27cda2d) to head (daa9cd7).

❗ Current head daa9cd7 differs from pull request most recent head 8b15b9e. Consider uploading reports for the commit 8b15b9e to get more accurate results

Files Patch % Lines
R/loadAdatsAsList.R 95.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   75.51%   75.71%   +0.19%     
==========================================
  Files          42       42              
  Lines        1491     1507      +16     
==========================================
+ Hits         1126     1141      +15     
- Misses        365      366       +1     

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

@stufield stufield merged commit 0debb6c into SomaLogic:main Mar 18, 2024
3 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.

2 participants