You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using weio with pip package (pip install weio) some folders are missing that prevent weio to read files:
weio.read('data/HAN016_V105_Wd000_Wv000_H063_T105_C180_S01.out')
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\laurent.mutricy\AppData\Local\miniconda3\envs\py310\lib\site-packages\weio\__init__.py", line 246, in read
fileformat,F = detectFormat(filename, **kwargs)
File "C:\Users\laurent.mutricy\AppData\Local\miniconda3\envs\py310\lib\site-packages\weio\__init__.py", line 212, in detectFormat
formats=fileFormats()
File "C:\Users\laurent.mutricy\AppData\Local\miniconda3\envs\py310\lib\site-packages\weio\__init__.py", line 32, in fileFormats
from .hawc2_pc_file import HAWC2PCFile
File "C:\Users\laurent.mutricy\AppData\Local\miniconda3\envs\py310\lib\site-packages\weio\hawc2_pc_file.py", line 15, in <module>
from .wetb.hawc2.pc_file import PCFile
ModuleNotFoundError: No module named 'weio.wetb'
May I suggest to modify setup.py line 39 from packages=find_packages(include=['weio'],exclude=['./__init__.py']), to packages=find_packages(include=['weio', 'weio/wetb', 'weio/tools'],exclude=['./__init__.py']), to solve the issue ?
The text was updated successfully, but these errors were encountered:
Sorry I have suggested an improper modification. find_packages(include=['weio', 'weio.wetb*', 'weio.tools'],exclude=['./__init__.py']) should perform better.
mutricyl
pushed a commit
to mutricyl/weio
that referenced
this issue
Feb 15, 2024
…#29)
* fast output file description in read and write, resolves#28
* small correction
* resolves#27
* write ascii return close to initial file
* remove panda.series deprecation warning
* more robust write function
---------
Co-authored-by: Laurent Mutricy <[email protected]>
Hello
When using weio with pip package (
pip install weio
) some folders are missing that prevent weio to read files:May I suggest to modify setup.py line 39 from
packages=find_packages(include=['weio'],exclude=['./__init__.py']),
topackages=find_packages(include=['weio', 'weio/wetb', 'weio/tools'],exclude=['./__init__.py']),
to solve the issue ?The text was updated successfully, but these errors were encountered: