Skip to content

Commit

Permalink
Update FstPermutations.jl
Browse files Browse the repository at this point in the history
fix progressbar
  • Loading branch information
pdimens authored Jan 20, 2023
1 parent 88ec014 commit 1337794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FStatistics/FstPermutations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ function _fst_permutation(data::PopData, method::Function, iterations::Int64)
end
@inbounds results[i,j] = fst_val
@inbounds results[j,i] = (pval + 1) / iterations
progress.update!(job)
pbar.update!(job)
end
end
stop!(pbar)
println("Below diagonal: FST values | Above diagonal: P values")
return PairwiseFST(DataFrame(results, Symbol.(pops)), "$method estimator (with p-values)")
end
end

0 comments on commit 1337794

Please sign in to comment.