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

Add a readable header to binary files #1

Closed
BerndDoser opened this issue Sep 11, 2018 · 1 comment
Closed

Add a readable header to binary files #1

BerndDoser opened this issue Sep 11, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@BerndDoser
Copy link
Member

The binary file formats described at https://github.com/HITS-AIN/PINK/wiki/Description-of-the-binary-file-formats will be expanded by a readable header for data information and comments. For separating the readable text from binary data the ASCII NUL character '\0' will be used. If a SOM is initialized with a SOM-file, the header will be copied to the resulting SOM-file.

@BerndDoser BerndDoser added the enhancement New feature or request label Sep 11, 2018
@BerndDoser BerndDoser added this to the 1.1 milestone Sep 11, 2018
@BerndDoser BerndDoser self-assigned this Sep 11, 2018
@BerndDoser
Copy link
Member Author

Using a ASCII NUL character '\0' to separate a readable header text before the binary data would be force to change existing PINK files. To avoid this and to be backward compatible within the next minor release, I change the syntax for the header section: All lines starting with '#' at the beginning of the file will be ignored.

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

No branches or pull requests

1 participant