Read h offset files and store them to origin file with new h_offset-column#47
Open
SevenOfNinePE wants to merge 3 commits intomainfrom
Open
Read h offset files and store them to origin file with new h_offset-column#47SevenOfNinePE wants to merge 3 commits intomainfrom
SevenOfNinePE wants to merge 3 commits intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Collect all files with h-offset and store it in the origin file. This leads to the result, that the column 'h_offset' is added to the material data csv-file.
Moreover the data files are read with the requested h_offset and available h-offsets can be read out by a new method.
All functions are still backward compatible.
If you read a csv-file without a 'h_offset'-column this column will be added automatically. In this case the origin file will be backup with the origin name plus postfix '_backup' or if such a file exists with postfix '_backup[number]'.
[number] is choosen to a number, which creates a file name, that still does not exists, eg. 'N27_backup2.csv' if
'N27_backup.csv' and 'N27_backup1.csv' still exists.