Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharrow Cache Dir Setting #893

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Sharrow Cache Dir Setting #893

merged 2 commits into from
Oct 24, 2024

Conversation

dhensle
Copy link
Contributor

@dhensle dhensle commented Oct 1, 2024

Fix for #890. Also fixes the same issue for profile_dir and pipeline_file_name settings.

@@ -478,15 +478,12 @@ def load_settings(self) -> State:
include_stack=False,
)

# the settings can redefine the cache directories.
cache_dir = raw_settings.pop("cache_dir", None)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used "pop" here, this takes this setting off the raw_settings. The revision leaves the setting in place... should we be popping all these values?

I think we need to write a test [or tests] to make sure this is solving the problem well.

@jpn--
Copy link
Member

jpn-- commented Oct 24, 2024

This appears to work. We need to have a test to confirm that, but writing one is some effort and in the meantime consortium members will benefit from having this fixed. I opened #902 to record that we want this tested, and will merge this for now.

@jpn-- jpn-- merged commit cecb570 into ActivitySim:main Oct 24, 2024
17 checks passed
@dhensle dhensle deleted the sharrow_cache_fix branch November 7, 2024 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants