We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following currently throws an error (TypeError: 'int' object is not iterable):
TypeError: 'int' object is not iterable
import filefinder ff = filefinder.FileFinder("", "{num}", test_paths=["1", "2"]) ff.find_files(num=1)
the workaround is:
ff.find_files(num=[1])
The text was updated successfully, but these errors were encountered:
I do wonder why this works for strings - it should not iterate the individual letters?
Sorry, something went wrong.
They are wrapped in:
https://github.com/mathause/filefinder/blob/ab49e18fe0563dcb526cdc62d1ee05342cc67b7b/filefinder/_filefinder.py#L86-L89
Maybe:
if isinstance(value, str) or np.ndim(value) == 0: ...
Successfully merging a pull request may close this issue.
The following currently throws an error (
TypeError: 'int' object is not iterable
):the workaround is:
The text was updated successfully, but these errors were encountered: