mirror of
https://github.com/triqs/dft_tools
synced 2024-07-11 22:03:53 +02: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)
|
subgrp=self.bands_data, things_to_read=things_to_read)
|
||||||
if not value_read:
|
if not value_read:
|
||||||
return value_read
|
return value_read
|
||||||
things_to_read = ['rot_mat_all', 'rot_mat_all_time_inv']
|
if ishell is not None:
|
||||||
value_read = self.read_input_from_hdf(
|
things_to_read = ['rot_mat_all', 'rot_mat_all_time_inv']
|
||||||
subgrp=self.parproj_data, things_to_read=things_to_read)
|
value_read = self.read_input_from_hdf(
|
||||||
if not value_read:
|
subgrp=self.parproj_data, things_to_read=things_to_read)
|
||||||
return value_read
|
if not value_read:
|
||||||
|
return value_read
|
||||||
|
|
||||||
if mu is None:
|
if mu is None:
|
||||||
mu = self.chemical_potential
|
mu = self.chemical_potential
|
||||||
|
|
Loading…
Reference in New Issue
Block a user