We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30e08af commit 3f063efCopy full SHA for 3f063ef
1 file changed
src/easydiffraction/datablocks/experiment/item/enums.py
@@ -74,6 +74,12 @@ def description(self) -> str:
74
return 'Time-of-flight (TOF) diffraction.'
75
76
77
+# TODO: Can, instead of hardcoding here, this info be auto-extracted
78
+# from the actual peak profile classes defined in peak/cwl.py, tof.py,
79
+# total.py? So that their Enum variable, string representation and
80
+# description are defined in the respective classes?
81
+# TODO: Can supported values be defined based on the structure of peak/?
82
+# TODO: Can the same be reused for other enums in this file?
83
class PeakProfileTypeEnum(str, Enum):
84
"""Available peak profile types per scattering and beam mode."""
85
0 commit comments