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

feat: update SOIT to allow specifying a path to the outfile #201

Conversation

hollandjg
Copy link
Collaborator

This matches the way the other modules work.

@hollandjg hollandjg changed the base branch from main to jghrefactor/C-update-soit-to-use-pipx December 13, 2024 20:16
@hollandjg hollandjg marked this pull request as ready for review December 13, 2024 22:06
Copy link
Member

@cpaniaguam cpaniaguam left a comment

Choose a reason for hiding this comment

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

Thanks. One observation here.

outpath_ = pathlib.Path(outpath)

if outpath_.is_dir():
filename = outpath_ / pathlib.Path(f"passtimes_lat{lat}_lon{lon}_{''.join(startdate)}_{''.join(enddate)}.csv")
Copy link
Member

Choose a reason for hiding this comment

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

This line is a bit too busy and long. Care to split it up into two or more lines?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, how about this?

@hollandjg hollandjg requested a review from cpaniaguam December 17, 2024 00:02
@hollandjg hollandjg deleted the branch jghrefactor/C-update-soit-to-use-pipx December 17, 2024 22:28
@hollandjg hollandjg closed this Dec 17, 2024
@hollandjg hollandjg deleted the jghrefactor/C2-update-soit-to-have-configurable-outpath branch December 17, 2024 22:32
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