Skip to content

simple fix - removing colocboost::#503

Merged
danielnachun merged 10 commits into
StatFunGen:mainfrom
xueweic:main
May 29, 2026
Merged

simple fix - removing colocboost::#503
danielnachun merged 10 commits into
StatFunGen:mainfrom
xueweic:main

Conversation

@xueweic

@xueweic xueweic commented May 29, 2026

Copy link
Copy Markdown
Contributor

No description provided.

xueweic added 9 commits May 27, 2026 09:28
ColocBoost adapters now accept genotype-backed LDData objects from load_LD_matrix(), preserving X_ref-based paths instead of treating LDData as a legacy list. Added regression coverage for direct RegionalData conversion, direct ColocBoost QC input prep, and summary-stat QC with S4 LDData.
Bug: long transMap and ColocBoost runs could appear to hang at the last visible pipeline handoff step because .run_colocboost emitted no message before entering colocboost_analysis(). This made slow ColocBoost calls look like upstream LD argument construction or handoff failures.

Fix: emit a start message immediately before colocboost_analysis(), capture the elapsed difftime once, emit an exit timing message after the call returns, and keep the existing result/time return contract unchanged.
Change the internal ColocBoost dispatch from colocboost::colocboost to the unqualified colocboost function, matching the local source-based workflow where colocboost is expected to be available in the runtime environment.

Only R/colocboost_pipeline.R is changed.
Update colocboost_analysis documentation to match the unqualified colocboost dispatch. The roxygen comments and generated Rd now refer to colocboost() instead of colocboost::colocboost().
Revert .run_colocboost to its original tryCatch-plus-timing implementation by removing the start and elapsed boundary messages. This keeps the unqualified colocboost dispatch and documentation changes intact.
@danielnachun

Copy link
Copy Markdown
Collaborator

I think we also need to update the DESCRIPTION file to put colocboost in Imports, don't we?

@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.26%. Comparing base (11b5534) to head (ab2609b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #503   +/-   ##
=======================================
  Coverage   86.26%   86.26%           
=======================================
  Files          52       52           
  Lines       11642    11642           
=======================================
  Hits        10043    10043           
  Misses       1599     1599           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielnachun danielnachun merged commit 8a962ad into StatFunGen:main May 29, 2026
7 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