Skip to content

Commit

Permalink
PEP8 fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Brianna Major <[email protected]>
  • Loading branch information
Brianna Major committed Jan 9, 2025
1 parent 62a6691 commit 7e3dc2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion hexrdgui/hexrd_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
from hexrdgui import utils
from hexrdgui.masking.constants import MaskType
from hexrdgui.singletons import QSingleton
from hexrdgui.utils.physics_package import ask_to_create_physics_package_if_missing
from hexrdgui.utils.physics_package import (
ask_to_create_physics_package_if_missing
)

import hexrdgui.resources.calibration
import hexrdgui.resources.indexing
Expand Down
3 changes: 2 additions & 1 deletion hexrdgui/physics_package_manager_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def setup_connections(self):
lambda index, k=k: self.material_changed(index, k))
HexrdConfig().instrument_config_loaded.connect(
self.update_instrument_type)
HexrdConfig().detectors_changed.connect(self.initialize_detector_coatings)
HexrdConfig().detectors_changed.connect(
self.initialize_detector_coatings)

def initialize_detector_coatings(self):
# Reset detector coatings to make sure they're in sync w/ current dets
Expand Down

0 comments on commit 7e3dc2b

Please sign in to comment.