mirror of
https://github.com/triqs/dft_tools
synced 2025-04-25 17:54:54 +02:00
Bug fix: changed use_rotations from bool to int
This commit is contained in:
parent
52d2159c18
commit
c6385b16d4
@ -356,6 +356,8 @@ class Wannier90Converter(ConverterTools):
|
||||
iorb += norb
|
||||
|
||||
# Finally, save all required data into the HDF archive:
|
||||
# use_rotations is supposed to be an int = 0, 1, no bool
|
||||
use_rotations = int(use_rotations)
|
||||
with HDFArchive(self.hdf_file, 'a') as ar:
|
||||
if not (self.dft_subgrp in ar):
|
||||
ar.create_group(self.dft_subgrp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user