Skip to content
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

Editing las.index partly works and partly fails #599

Open
kinverarity1 opened this issue Nov 27, 2024 · 0 comments
Open

Editing las.index partly works and partly fails #599

kinverarity1 opened this issue Nov 27, 2024 · 0 comments
Labels

Comments

@kinverarity1
Copy link
Owner

kinverarity1 commented Nov 27, 2024

Describe the bug
Editing the las.index attribute only half-works

To Reproduce

>>> las.index[0]
61.26
>>> las.index -= 2
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[120], line 1
----> 1 las.index -= 2

AttributeError: can't set attribute 'index'
>>> las.index[0]
59.26

Expected behavior
Either it should work, or it should return an exception. Not both!

Software versions (please complete the following information):

  • lasio version: '0.31.dev37+g52c02ca'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant