Skip to content

Commit

Permalink
fixing unit tests, setting parquet edb default
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensle committed Dec 14, 2024
1 parent a5e137b commit af7e67e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 49 deletions.
2 changes: 1 addition & 1 deletion activitysim/core/estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class EstimationConfig(PydanticReadable):
This is useful for saving disk space and decreasing runtime
if you do not care about the estimation output for all models.
"""
EDB_FILETYPE: Literal["csv", "parquet", "pkl"] = "csv"
EDB_FILETYPE: Literal["csv", "parquet", "pkl"] = "parquet"

DELETE_MP_SUBDIRS: bool = True
"""Flag to delete the multiprocessing subdirectories after coalescing the results.
Expand Down
48 changes: 0 additions & 48 deletions activitysim/examples/example_estimation/configs/estimation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,54 +49,6 @@ survey_tables:
file_name: survey_data/override_trips.csv
index_col: trip_id

estimation_table_recipes:

interaction_sample_simulate:
omnibus_tables:
choosers_combined:
- choices
- override_choices
- choosers
alternatives_combined:
- interaction_sample_alternatives
- interaction_expression_values
omnibus_tables_append_columns: [choosers_combined, alternatives_combined]

interaction_simulate:
omnibus_tables:
choosers_combined:
- choices
- override_choices
- choosers
omnibus_tables_append_columns: [choosers_combined]

simple_simulate:
omnibus_tables:
values_combined:
- choices
- override_choices
- expression_values
- choosers
omnibus_tables_append_columns: [values_combined]

cdap_simulate:
omnibus_tables:
values_combined:
- choices
- override_choices
- choosers
omnibus_tables_append_columns: [values_combined]

simple_probabilistic:
omnibus_tables:
values_combined:
- choices
- override_choices
- choosers
- probs
omnibus_tables_append_columns: [values_combined]


estimation_table_types:
school_location: interaction_sample_simulate
workplace_location: interaction_sample_simulate
Expand Down

0 comments on commit af7e67e

Please sign in to comment.