Skip to content

Remove unused detection constants#604

Open
Gautghadi-1605 wants to merge 1 commit intobrainglobe:mainfrom
Gautghadi-1605:fix-unused-detection-constants
Open

Remove unused detection constants#604
Gautghadi-1605 wants to merge 1 commit intobrainglobe:mainfrom
Gautghadi-1605:fix-unused-detection-constants

Conversation

@Gautghadi-1605
Copy link
Copy Markdown

Description

What is this PR?

  • Bug fix
  • Addition of a new feature
  • Refactoring
  • Documentation update

What does this PR do?

This PR removes unused constants from cellfinder/napari/detect/detect.py.

Removed:

  • CUBE_WIDTH
  • CUBE_HEIGHT

Kept:

  • CUBE_DEPTH
  • NETWORK_VOXEL_SIZES

CUBE_DEPTH and NETWORK_VOXEL_SIZES[0] are still used in the detection code path, so they remain unchanged.

I left cellfinder/core/train/train_yaml.py unchanged because the corresponding cube dimensions are still used there.

Linked issues

Closes #601

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.

Unused global variables in cellfinder detection?

1 participant