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

Recognizing a Global Header Section and using it as default #328

Merged
merged 6 commits into from
Jul 29, 2019

Conversation

boesecke
Copy link
Contributor

The Global Header Section (general block) is the one that starts with the keyword EDF_DataFormatVersion, otherwise no Global Header Section is defined for the opened file. Its contents is used as default for all frames. Checks have been added in test_edfimage1.py for verifying the correct reading of these type of files and for verifying that a keyword of the general block is really used as default in data frame headers.
(originally, "VersionNumber" was defined for this purpose. Because it could be located somewhere inside the header it would require reading the full header. This is time consuming and has been abandoned.)

boesecke and others added 6 commits June 13, 2019 10:52
update files in boesecke/fabio/master with silx-kit/fabio/master
that are starting with the key EDF_DataFormatVersion.
Using general header contents as default for all frames.
…l header.

Checking that general header keys are included as default in all frames.
The master branch was previously merged with the silx/fabio branch.
@kif
Copy link
Member

kif commented Jul 29, 2019

Looks good to me.

@kif kif merged commit ea82830 into silx-kit:master Jul 29, 2019
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.

None yet

2 participants