Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yavyx committed Jun 4, 2024
1 parent 13a4b72 commit ac74741
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion mapping_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ Functions

Args:
data_values: a values dict with a date
date_format: string with order of day, month and year in date (e.g. "DMY", "YMD", etc.)

Returns:
A dictionary with calculated month_interval and optionally a day_interval depending on the specified
Expand Down
2 changes: 1 addition & 1 deletion src/clinical_etl/mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def earliest_date(data_values):
}


def date_interval(data_values, date_format=None):
def date_interval(data_values):
"""Calculates a date interval from a given date relative to the reference date specified in the manifest.
Args:
Expand Down

0 comments on commit ac74741

Please sign in to comment.