Skip to content

Commit

Permalink
Merge pull request #1711 from HEXRD/remove-pinhole-materials
Browse files Browse the repository at this point in the history
Remove pinhole_materials.h5
  • Loading branch information
saransh13 authored Jul 5, 2024
2 parents e6a9ba1 + 39afa7a commit c79e4d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hexrdgui/pinhole_correction_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
QCheckBox, QComboBox, QDoubleSpinBox, QMessageBox, QSpinBox
)

import hexrd.resources
from hexrd.material import _angstroms, _kev, Material
from hexrd.xrdutil.phutil import (
JHEPinholeDistortion, RyggPinholeDistortion, SampleLayerDistortion,
Expand All @@ -19,7 +20,6 @@
from hexrdgui.utils import block_signals

from hexrdgui import resource_loader
import hexrdgui.resources.materials


class PinholeCorrectionEditor(QObject):
Expand Down Expand Up @@ -354,7 +354,7 @@ def rygg_absorption_length(self, v):
self.auto_select_rygg_absorption_length()

def load_pinhole_materials(self):
module = hexrdgui.resources.materials
module = hexrd.resources

# Use a high dmin since we do not care about the HKLs here.
# We only care about the absorption length.
Expand Down
Binary file removed hexrdgui/resources/materials/pinhole_materials.h5
Binary file not shown.

0 comments on commit c79e4d2

Please sign in to comment.