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

add option to list_files to supply path names #47

Open
jkingslake opened this issue Sep 17, 2024 · 0 comments
Open

add option to list_files to supply path names #47

jkingslake opened this issue Sep 17, 2024 · 0 comments

Comments

@jkingslake
Copy link
Member

I could be useful to add an option to list_files so that it can list path names as well as full file names.

It might be just replacing

        return dat_filenames

with

        import os
        return dat_filenames os.path.dirname(dat_filenames)

but this will require changing the usage of list_files elsewhere. Unless, we add an option to determine if pathnames are returned.

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

No branches or pull requests

1 participant