- Updates to the proxy VCF construction section inside
proxy_match().
The new behavior is:
-
Attempt the original implementation exactly as before.
-
If that succeeds, return the result unchanged.
-
If that fails, catch the error and rebuild the proxy VCF using a compatibility path that:
- extracts genotype fields as plain matrices first
- applies effect-sign flipping before VCF construction
- inserts the PR matrix before VCF construction
- then creates the VCF object once, instead of relying on post-hoc geno slot replacement
This means existing successful cases continue using the original code path, and only problematic cases use the fallback (thanks @ywge03)