Skip to content

Commit

Permalink
[fix]: Rewritind condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed Jul 12, 2021
1 parent 9e384b8 commit 09843d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minushalf/corrections/vasp_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(

self.band_projection = band_projection

if is_conduction:
if is_conduction and not only_conduction:
self.potential_folder = "corrected_valence_potfiles"
else:
self.potential_folder = minushalf_yaml.correction[
Expand All @@ -77,7 +77,7 @@ def __init__(
self.amplitude = minushalf_yaml.correction[
CorrectionDefaultParams.amplitude.name]

if is_conduction and only_conduction:
if is_conduction:
self.cut_initial_guess = minushalf_yaml.correction[
CorrectionDefaultParams.conduction_cut_guess.name]
else:
Expand Down

0 comments on commit 09843d8

Please sign in to comment.