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
Seeing the following error with read_files in python3:
read_files
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-3-e7b7aaade4df> in <module>() ----> 1 survivalstan.utils.read_files(path='models') .../.env/lib/python3.5/site-packages/survivalstan/utils.py in read_files(path, pattern, encoding, resource) 192 file_data['code'] = _read_file( 193 file, --> 194 resource=resource).decode(encoding) 195 results[file_data['basename']] = file_data['code'] 196 return(results) AttributeError: 'str' object has no attribute 'decode'
Appears to happen when the file being indexed is empty.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Seeing the following error with
read_files
in python3:Appears to happen when the file being indexed is empty.
The text was updated successfully, but these errors were encountered: