Skip to content

Commit

Permalink
PS variant file is now saved in the HDF5 output file, if not undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdegraef committed Feb 29, 2024
1 parent cc20d43 commit 2e66cf8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/EMsoftOOLib/program_mods/mod_FitOrientation.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2185,6 +2185,13 @@ subroutine FitOrientation_(self, EMsoft, progname, zero)
dataset = trim(HDFnames%get_NMLfilename())
hdferr = HDF%writeDatasetTextFile(dataset, EMsoft%nmldeffile)

! if there is a pseudosymmetric orientations file, then also add this file
if (trim(ronl%PSvariantfile).ne.'undefined') then
fname = trim(EMsoft%getConfigParameter('EMdatapathname'))//trim(ronl%PSvariantfile)
dataset = 'PSvariantfile'
hdferr = HDF%writeDatasetTextFile(dataset, fname)
end if

! leave this group
call HDF%pop()

Expand Down

0 comments on commit 2e66cf8

Please sign in to comment.