Skip to content

First line splits by \t and space too.#9

Merged
hsorby merged 9 commits intohsorby:mainfrom
Ipuch:patch-2
Nov 13, 2025
Merged

First line splits by \t and space too.#9
hsorby merged 9 commits intohsorby:mainfrom
Ipuch:patch-2

Conversation

@Ipuch
Copy link
Copy Markdown
Contributor

@Ipuch Ipuch commented Nov 12, 2025

Updated section splitting method to use regex for better handling of whitespace.

My first line of my .trc had a space for the last col:

PathFileType    4   (X/Y/Z) abd_0kg_1.trc

If you want I can add supplementary test file.
Other than that, Everything worked fine great job !

Updated section splitting method to use regex for better handling of whitespace.

My first line of my .trc had a space for the last col:
```bash
PathFileType    4   (X/Y/Z) abd_0kg_1.trc
``
Copy link
Copy Markdown
Owner

@hsorby hsorby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test for this change, that would be really helpful to make sure we don’t regress this new behaviour.

@Ipuch
Copy link
Copy Markdown
Contributor Author

Ipuch commented Nov 13, 2025

Please add a test for this change, that would be really helpful to make sure we don’t regress this new behaviour.

Done.

@Ipuch
Copy link
Copy Markdown
Contributor Author

Ipuch commented Nov 13, 2025

I took the liberty to modify the readme format. It's easier to copy-paste code from it when well declared in a .md file.
https://github.com/Ipuch/trc-data-reader/tree/patch-2

Copy link
Copy Markdown
Owner

@hsorby hsorby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to also change the entry in the pyproject.toml file for the readme.

@Ipuch
Copy link
Copy Markdown
Contributor Author

Ipuch commented Nov 13, 2025

done

@hsorby
Copy link
Copy Markdown
Owner

hsorby commented Nov 13, 2025

You need to resolve the conflict before this can be merged in.

@Ipuch
Copy link
Copy Markdown
Contributor Author

Ipuch commented Nov 13, 2025

I hope it's enough for you :)

@hsorby hsorby merged commit 7e05e37 into hsorby:main Nov 13, 2025
5 checks passed
@Ipuch Ipuch deleted the patch-2 branch November 13, 2025 21:25
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

Successfully merging this pull request may close these issues.

2 participants