-
Notifications
You must be signed in to change notification settings - Fork 40
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
ModuleNotFoundError: No module named 'dlisio.dlis' #336
Comments
Hi there! What version of dlisio do you use? The submodule 'dlisio.dlis' was introduced 736d545, which it not a part of the newest stable release (v0.2.6). The above code should work fine if you build dlisio from source, while if you fetch dlisio from
The docs for the stable version (pip): https://dlisio.readthedocs.io/en/stable/ As this suggests the next stable release of dlisio will be a quite heavy break of the API from previous versions due to this module restructuring, and then your code will be the correct one. I'm sorry for the inconvenience such breaking changes impose, we try to keep them at a minimum. The reasoning for the restructuring is the introduction of a LIS parser. Hence the new submodules |
dlisio v0.3.0 is now available on |
Thank you for your response!
…On Tue, Mar 9, 2021, 14:05 Erlend Hårstad ***@***.***> wrote:
dlisio v0.3.0 is now available on pip. Please refer to #339
<#339> on how to upgrade your
scripts to work with the new version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#336 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHOXNF6CBZOORXKBRVEBO3TCYMJBANCNFSM4YTHQH6Q>
.
|
I am trying to fetch the units of the curves but I am receiving the error:
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from dlisio.dlis.utils import vector
2 Channel.attributes['UNITS'] = vector
3 with dlisio.dlis.load('file.dlis') as (f, *_):
4 ch = f.object('CHANNEL', 'TDEP')
5 ch.units
ModuleNotFoundError: No module named 'dlisio.dlis'
The text was updated successfully, but these errors were encountered: