Skip to content

Commit

Permalink
Remove unnecessary flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Oct 17, 2024
1 parent c15f28f commit 2d4bccf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ingestion_tools/scripts/db_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ def db_import_options(func):
type=bool,
help="Print DB Queries",
)
@click.option(
"--allow-annotation-deletion",
is_flag=True,
required=False,
default=False,
type=bool,
help="Whether it's ok to delete annotations.",
)
@db_import_options
def load(
s3_bucket: str,
Expand All @@ -96,7 +88,6 @@ def load(
import_tomograms: bool,
import_tomogram_authors: bool,
import_tomogram_voxel_spacing: bool,
allow_annotation_deletion: bool,
import_everything: bool,
deposition_id: list[str],
endpoint_url: str,
Expand Down Expand Up @@ -204,7 +195,6 @@ def load(
config,
)
annotation_authors.import_to_db()
if allow_annotation_deletion:
annotation_cleaner.remove_stale_objects()

voxel_spacing_cleaner.mark_as_active(voxel_spacing_obj)
Expand Down

0 comments on commit 2d4bccf

Please sign in to comment.