Skip to content

Commit

Permalink
ENH: Remove --no_analyze_ground_truth option
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellepace committed Jan 12, 2024
1 parent 55a58b0 commit 618d857
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ml4h/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,7 @@ def parse_args():
)

# Arguments for explorations/infer_stats_from_segmented_regions
parser.add_argument('--analyze_ground_truth', action='store_true', help='Filter by images with ground truth segmentations, for comparison')
parser.add_argument('--no_analyze_ground_truth', dest='analyze_ground_truth', action='store_false', help='Do not filter by images with ground truth segmentations, for comparison')
parser.set_defaults(analyze_ground_truth=True)
parser.add_argument('--analyze_ground_truth', default=False, action='store_true', help='Filter by images with ground truth segmentations, for comparison')
parser.add_argument('--structures_to_analyze', nargs='*', default=[], help='Structure names to include in the .tsv files and scatter plots')
parser.add_argument('--erosion_radius', default=1, type=int, help='Radius of the unit disk structuring element for erosion preprocessing')
parser.add_argument('--intensity_thresh', type=float, help='Threshold value for preprocessing')
Expand Down

0 comments on commit 618d857

Please sign in to comment.