Refactor/refactor AlphaPeel#292
Conversation
|
Coverage report of the functional test: |
gregorgorjanc
left a comment
There was a problem hiding this comment.
The changes look good/ok
|
Functional tests memory profiling - this is not very informative, as the Numba function can be called at any part of the run: |
Coverage report cannot identify the calls to jit-compiled functions. |
|
The original accuracy tests have been split into two parts:
Still under development... |
|
GitHub runner does not support Python 3.7 for ubuntu: for simplicity, just test version |
|
The full report: |
|
This looks very comprehensive @XingerTang! Once question though - say I make changes and then open PR - and will get these plots generated, which is great, but really need to seek for differences from the previous implementation - how can we address that aspect!? |
There are no functions for comparison across different implementations yet. But a simple way to do that is to copy a Visualisations for comparisons between different |
|
The commit message for 897287f is wrong, but I don't want to do force push to correct it, just make a note here, the commit splits the |
Please make a note of this in the docs for developers. |
|
@XingerTang interesting - why do we see/get this? Isn't the 0.5 threshold forcing the call even if we are quite uncertain or is it that the probs are exactly 0.5 for these loci? |
The phased genotypes can be |
|
In the recent commits, the argument options are regrouped according to the The original help message is: The help message after change: |
|
The unused functions are determined in combinations of:
|
|
All commented code is removed except the code with einsum notation, which is useful in the interpretation of the current code. |



















Related Issue
Closes #78
Closes #172
Closes #178
Closes #258
Working...
What changed
ValueErrorinstead of printing error messagesWorking...
Bigger picture of the full plan
Modification on tests:
Refactor the reassignment of argument options in AlphaPeel to remove warnings raised because of the unsynced arguments retrieval.
Remove unused/commented code
Replace single-letter variable names with more informative names
Add comments and docstrings when applicable
Memory optimisation
Move the functions that are jit-compilable to jit
Explore multi-processing solution on HPC
Why this change
Working...
Submodule changes
Notes / Risks
Working...