Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
albrja committed Dec 1, 2023
1 parent ee68459 commit 009f95d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pseudopeople/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ def _generate_dataset(
configure_logging_to_terminal(verbose)
configuration_tree = get_configuration(config, dataset, user_filters)

# Validate confgiuration noise levels with possible metadata noise level proportions
validate_noise_level_proportions(configuration_tree, dataset, user_filters)

if source is None:
source = paths.SAMPLE_DATA_ROOT
else:
Expand Down Expand Up @@ -103,7 +100,10 @@ def _generate_dataset(
# Known pandas bug: pd.concat does not preserve category dtypes so we coerce
# again after concat (https://github.com/pandas-dev/pandas/issues/51362)
noised_dataset = _coerce_dtypes(
noised_dataset, dataset, cleanse_int_cols=True, cleanse_address_cols=True
noised_dataset,
dataset,
cleanse_int_cols=True,
cleanse_address_cols=True,
)

logger.debug("*** Finished ***")
Expand Down

0 comments on commit 009f95d

Please sign in to comment.