Skip to content
Snippets Groups Projects
Commit b152e29d authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Faulty line break

parent 1d3df579
No related branches found
No related tags found
1 merge request!2F sample name
...@@ -90,9 +90,8 @@ def add_event_to_sample(sample: db.Record, data: pd.Series) -> db.Record: ...@@ -90,9 +90,8 @@ def add_event_to_sample(sample: db.Record, data: pd.Series) -> db.Record:
if event.get_property(get_entity_name("start_date_prop")) is None: if event.get_property(get_entity_name("start_date_prop")) is None:
raise DataInconsistencyError( raise DataInconsistencyError(
f"Sample with {get_column_header_name('entity_id')} {sample.id} has an " f"Sample with {get_column_header_name('entity_id')} {sample.id} has an "
f"{get_entity_name('event_rt')} but is missing a { f"{get_entity_name('event_rt')} but is missing a "
get_column_header_name('start_date_prop')} " f"{get_column_header_name('start_date_prop')} which is required."
"which is required."
) )
if event.get_property(get_entity_name(position_prop.name)) is None: if event.get_property(get_entity_name(position_prop.name)) is None:
raise DataInconsistencyError( raise DataInconsistencyError(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment