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
from pathlib import Path fpath = Path('/Users/erik/data/cluster/cu_half_speed_master_4.json') f = File(fpath, 'r')
results in:
Traceback (most recent call last): File "/Users/erik/software/aare/src/python/example/scratch.py", line 6, in <module> f = File(fpath, 'r') ^^^^^^^^^^^^^^^^ TypeError: __init__(): incompatible constructor arguments. The following argument types are supported: 1. _aare.File(arg0: _aare.Path) 2. _aare.File(arg0: _aare.Path, arg1: str) 3. _aare.File(arg0: _aare.Path, arg1: str, arg2: aare::FileConfig) Invoked with: PosixPath('/Users/erik/data/cluster/cu_half_speed_master_4.json'), 'r'
Current workaround
f = File(fpath.as_posix(), 'r')
The text was updated successfully, but these errors were encountered:
Bechir-Brahem
No branches or pull requests
results in:
Current workaround
The text was updated successfully, but these errors were encountered: