Skip to content

Commit 4f54a9a

Browse files
committed
made minor changes to update_date_submission_ranges
1 parent 7d49670 commit 4f54a9a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

woudc_data_registry/controller.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
from woudc_data_registry.generate_metadata import (
6767
update_extents,
68-
update_data_submission_ranges)
68+
update_date_submission_ranges)
6969
from woudc_data_registry.models import Contributor, DataRecord
7070
from woudc_data_registry.report import OperatorReport, RunReport, EmailSummary
7171
from woudc_data_registry.search import SearchIndex
@@ -240,6 +240,7 @@ def ingest(ctx, source, reports_dir, lax, bypass, verbosity):
240240

241241
orchestrate(source, reports_dir, metadata_only=lax, bypass=bypass)
242242
update_extents()
243+
update_data_submission_ranges()
243244

244245

245246
@click.command()
@@ -392,9 +393,9 @@ def update_date_ranges(cntx, models, verbosity):
392393
registry = Registry()
393394
if models is not None: # update the specified tables
394395
tables = [model.strip() for model in models.split(',')]
395-
update_data_submission_ranges(registry, tables)
396+
update_date_submission_ranges(tables)
396397
else:
397-
update_data_submission_ranges(registry)
398+
update_date_submission_ranges()
398399

399400

400401
data.add_command(ingest)

0 commit comments

Comments
 (0)