BlueQuartzSoftware / BlueQuartzSoftware/EbsdLib
CtfReader doesn't parse space group and comment of a phase when Internal1 and Internal2 are empty
- Dominant language
- C++
- Stars
- 8
- Forks
- 13
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 3
Description
I'm trying to read a ctf file where the phase is defined as follow
```
Phases 1
2.866;2.866;2.866 90.000;90.000;90.000 bcc 11 229 Phase comment
```
with the fields Internal1 and Internal2 empty.
However, when I load the file, the parser doesn't read the space group and the comment and it defined the following phase (print with the method `CtfPhase::printSelf`) :
```
LatticeConstants 2.866, 2.866, 2.866 90, 90, 90
PhaseName bcc
LaueGroup 11
SpaceGroup 0
Internal1
Internal2
Comment
```
But if I fill the Internal1 and Internal2 fields with a space character, the phase is correctly read and `CtfPhase::printSelf` give :
```
LatticeConstants 2.866, 2.866, 2.866 90, 90, 90
PhaseName bcc
LaueGroup 11
SpaceGroup 229
Internal1
Internal2
Comment Phase comment
```
I'm using EbsdLib 1.0.22, download from github and compile by myself.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.