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

Setters and getters more intuitive #33

Open
mhallipelto opened this issue Apr 26, 2020 · 1 comment
Open

Setters and getters more intuitive #33

mhallipelto opened this issue Apr 26, 2020 · 1 comment

Comments

@mhallipelto
Copy link
Collaborator

mhallipelto commented Apr 26, 2020

I think setters and getters could be more intuitive for manipulating data.

   hole.fileheader['KJ'] 
   hole.header.XY["X"]
   hole.header.XY["Y"]
   etc..

And it should be ensured that it handels pointers and copys correctly.

hole = holes[0]
hole.fileheader['KJ']  = "system"

changes all holes

@ahartikainen
Copy link
Owner

Why holes[0] defines behavior for other holes?

Do we have set __len__, __iter__ and other ones?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants