Skip to content
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

Alejandro #30

Merged
merged 10 commits into from
May 26, 2022
Merged

Alejandro #30

merged 10 commits into from
May 26, 2022

Conversation

Mossi8
Copy link

@Mossi8 Mossi8 commented May 25, 2022

Few minor changes:

  1. Segmentation saved again as zarr files seemed to work.
  2. Split processing_fresh_nuclei (def processing_assign_dots, added to run_full) last step of register_assign function because it crashes after create_label, but it completes it.
  3. Seems like when the registration of 40X nuclei has big shifts, they tend to be removed of this function of stitching_graph_fresh_nuclei:
    '''all_registrations_removed_large_shift = {
    k: v for (k, v) in all_registrations_dict.items() if np.all(np.abs(v[0]) < 20)
    }'''
    which I changed to:
    all_registrations_removed_large_shift = {}
    for (k, v) in all_registrations_dict.items():
    if np.all(np.abs(v[0]) < 20):
    all_registrations_removed_large_shift[k] = v
    else:
    all_registrations_removed_large_shift[k] = [np.array([0,0]), 1.0]
    otherwise, the global_shift it too big
  4. Add reprocessing option to processing_fresh_nuclei

@Mossi8 Mossi8 merged commit 72faf88 into master May 26, 2022
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