-
Notifications
You must be signed in to change notification settings - Fork 260
Add filename property #1571
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
Add filename property #1571
Conversation
Adding comments with examples of each header type in ephy_testing_data.
Now tests for existence of the patterns and produces error or None values as appropriate.
Thanks Peter. Sam said he would review this when he has some time. So I assigned him to all of these and he will be the main reviewer. |
@zm711 : this is ready to merge on my side. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. Really appreciate the comment with all the different file header types to keep track of everything.
Adds the OriginalFileName property to the NlxHeader. Also cleans up private members and moves a useful method to NlxHeader from test.
This is the last in this sequence of commits for a while now. This now provides a much clearer method of parsing the header which works with all extant files (@JuliaSprenger and thus provides that refactoring discussed a while back ;-). It should be more flexible for future possible variations and easier to modify if needed.
If one wanted to squish all of these since the divergence to master there would be much cleaner code to review, however, it would be major changes in one shot.