-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_pbs #2777
base: main
Are you sure you want to change the base?
add_pbs #2777
Conversation
divergences.shape = (divergences.shape[0], 1, divergences.shape[1]) | ||
diversities.shape = (diversities.shape[0], 1, diversities.shape[1]) | ||
|
||
fst = np.repeat(1.0, np.product(divergences.shape)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better just to call self.Fst( )
directly instead of copying the code.
) | ||
fst.shape = orig_shape | ||
|
||
def cal_pbs(arr_0): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we're gaining anything by separating this out into a function that is immediately called.
|
||
""" | ||
|
||
def pbs_func(sample_set_sizes, flattened, indexes], **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray ]
I started commenting on the code, @atongsa, but noticed a bunch of typos, e.g.,
Please let us know when you've got code that runs (at least, doesn't have syntax errors)? Or, ask if you have specific questions about the approach? |
Hi @atongsa - are you planning to come back to this work? Thanks! |
sorry, it is a little difficult for me, i don't understand the errors, and has no idea how to fix it, i need to read more about the funcions and docs. |
Description
sorry i messed and delete my local branch, so the pr #2749 was closed automately;
i don't know how to reopen, so i opened a new pr;
sorry agian;
Closes #2717
PR Checklist: