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

Allow readers to accept pathlib.Path instances #450

Closed
honnorat opened this issue Oct 9, 2018 · 0 comments · Fixed by #451
Closed

Allow readers to accept pathlib.Path instances #450

honnorat opened this issue Oct 9, 2018 · 0 comments · Fixed by #451

Comments

@honnorat
Copy link
Contributor

honnorat commented Oct 9, 2018

I would like to create a scene from a list of filenames, like this:

scene = Scene(filenames=files)

where files is a list of pathlib.Path instances, instead of strings.

IMHO, the solution should be a one-liner somewhere in the code. It should not have any impact elsewere.

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 a pull request may close this issue.

1 participant