Skip to content

Weird numba caching issue - #20

Open
tycheyoung wants to merge 1 commit into
bittremieuxlab:mainfrom
tycheyoung:tycheyoung-patch-1
Open

Weird numba caching issue#20
tycheyoung wants to merge 1 commit into
bittremieuxlab:mainfrom
tycheyoung:tycheyoung-patch-1

Conversation

@tycheyoung

Copy link
Copy Markdown

Due to the incorrect fraction part, the resulting dim can have an error (+1/-1 difference).

@bittremieux

Copy link
Copy Markdown
Member

Could you elaborate a bit? When exactly does the issue occur and is it related to Numba or just a general issue?

@tycheyoung

Copy link
Copy Markdown
Author

If we set min_mz = 101.00, max_mz = 1500.00, bin_size=0.05, the dimension needs to be 27981. When we enable numba caching, the fraction part of bin_size changes (in my system, it changes to 0.05000000074505806), resulting in 27982 dimension.

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