mirror of
https://github.com/triqs/dft_tools
synced 2024-12-09 22:13:43 +01:00
Read parproj for spaghetti only if ishell is not None
This commit is contained in:
parent
c4b4620b36
commit
3430ba2231
@ -372,11 +372,12 @@ class SumkDFTTools(SumkDFT):
|
||||
subgrp=self.bands_data, things_to_read=things_to_read)
|
||||
if not value_read:
|
||||
return value_read
|
||||
things_to_read = ['rot_mat_all', 'rot_mat_all_time_inv']
|
||||
value_read = self.read_input_from_hdf(
|
||||
subgrp=self.parproj_data, things_to_read=things_to_read)
|
||||
if not value_read:
|
||||
return value_read
|
||||
if ishell is not None:
|
||||
things_to_read = ['rot_mat_all', 'rot_mat_all_time_inv']
|
||||
value_read = self.read_input_from_hdf(
|
||||
subgrp=self.parproj_data, things_to_read=things_to_read)
|
||||
if not value_read:
|
||||
return value_read
|
||||
|
||||
if mu is None:
|
||||
mu = self.chemical_potential
|
||||
|
Loading…
Reference in New Issue
Block a user