diff --git a/phono3py/conductivity/direct_solution.py b/phono3py/conductivity/direct_solution.py index 89b31ceb..0b292431 100644 --- a/phono3py/conductivity/direct_solution.py +++ b/phono3py/conductivity/direct_solution.py @@ -519,9 +519,9 @@ def _set_collision_matrix_at_sigmas(self, i_gp): else: i_data = 0 self._gamma[j, k, i_data] = self._collision.imag_self_energy - self._collision_matrix[ - j, k, i_data - ] = self._collision.get_collision_matrix() + self._collision_matrix[j, k, i_data] = ( + self._collision.get_collision_matrix() + ) def _prepare_collision_matrix(self): """Collect pieces and construct collision matrix.""" diff --git a/phono3py/conductivity/rta.py b/phono3py/conductivity/rta.py index f9f9e346..44a786e8 100644 --- a/phono3py/conductivity/rta.py +++ b/phono3py/conductivity/rta.py @@ -298,9 +298,9 @@ def _set_gamma_at_sigmas(self, i): self._gamma_N[j, k, i] = g_N self._gamma_U[j, k, i] = g_U if self._is_gamma_detail: - self._gamma_detail_at_q[ - k - ] = self._collision.get_detailed_imag_self_energy() + self._gamma_detail_at_q[k] = ( + self._collision.get_detailed_imag_self_energy() + ) def _set_gamma_at_sigmas_lowmem(self, i): """Calculate gamma without storing ph-ph interaction strength. diff --git a/phono3py/interface/calculator.py b/phono3py/interface/calculator.py index 15f0014d..e0b52d51 100644 --- a/phono3py/interface/calculator.py +++ b/phono3py/interface/calculator.py @@ -34,7 +34,6 @@ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. - calculator_info = { "abinit": {"option": {"name": "--abinit", "help": "Invoke Abinit mode"}}, # 'aims': {'option': {'name': "--aims", diff --git a/phono3py/phonon3/real_self_energy.py b/phono3py/phonon3/real_self_energy.py index b39bc039..c2c8d95b 100644 --- a/phono3py/phonon3/real_self_energy.py +++ b/phono3py/phonon3/real_self_energy.py @@ -292,16 +292,16 @@ def _run_py_with_frequency_points(self): freqs = self._frequencies[triplet] for j, _ in enumerate(self._band_indices): if self._temperature > 0: - self._real_self_energies[ - k, j - ] += self._real_self_energies_at_bands( - j, fpoint, freqs, interaction, w + self._real_self_energies[k, j] += ( + self._real_self_energies_at_bands( + j, fpoint, freqs, interaction, w + ) ) else: - self._real_self_energies[ - k, j - ] += self._real_self_energies_at_bands_0K( - j, fpoint, freqs, interaction, w + self._real_self_energies[k, j] += ( + self._real_self_energies_at_bands_0K( + j, fpoint, freqs, interaction, w + ) ) self._real_self_energies *= self._unit_conversion