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

How to edit the header of each section #508

Closed
MarcosGuerreroA opened this issue May 11, 2022 · 5 comments
Closed

How to edit the header of each section #508

MarcosGuerreroA opened this issue May 11, 2022 · 5 comments

Comments

@MarcosGuerreroA
Copy link

I have encountered the problem of creating a .LAS file but when I review it, in the header of the ~Ascii section, I only see "~Ascii" and what I want is to see each of the curves specified in the ~Curve section.

I need something like this:
image

But I get this:
image

@kinverarity1
Copy link
Owner

kinverarity1 commented May 11, 2022

We have partially implemented what you are looking for in #465. Hopefully this example might help you: https://gist.github.com/kinverarity1/aaf3459c3fa3eeafe127c9011c15c835

I will close this issue for now as #375 should cover this. Please feel free to re-open if I misunderstood!

@MarcosGuerreroA
Copy link
Author

MarcosGuerreroA commented May 11, 2022

I just tried it but I get the following: "OS error: write() got an unexpected keyword argument 'mnemonics_header'", "OS error: write() got an unexpected keyword argument 'data_section_header'"

@kinverarity1
Copy link
Owner

Ah you might not be using the latest code from GitHub. I will publish a new release of lasio tomorrow which should fix that for you.

@kinverarity1
Copy link
Owner

I have published v0.30 to PyPI; please let me know here if the code in the gist above does not help you out.

@MarcosGuerreroA
Copy link
Author

Indeed, it works. Thank you very much.

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