-
Notifications
You must be signed in to change notification settings - Fork 1
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
Secondary locations #41
Conversation
Hussein-Mahfouz
commented
Aug 28, 2024
- Assigning secondary locations using pam
- Restructuring scripts
…dary_locations_add_pam Add PAM as dependency
e07fdeb
to
4161542
Compare
1db184d
to
68bfcf6
Compare
src/acbm/assigning/plots.py
Outdated
@@ -229,7 +230,7 @@ def plot_desire_lines( | |||
bin_size: int, | |||
boundaries: gpd.GeoDataFrame, | |||
sample_size: Optional[int] = None, | |||
save_dir: Optional[str] = None, | |||
save_dir: str | None | Path = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do I use pathlib for this now? Do we need to edit the scripts? Currently, this is how we pass the save_dir: link
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's since we added acbm.root_path
(as this is a Path
) and when this combines with a str
(with the /
) it also returns a Path
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.