Skip to content

Commit 8b168c9

Browse files
committed
Notebook modified to fix new bug regarding boolean.
1 parent f509b19 commit 8b168c9

File tree

2 files changed

+44
-6
lines changed

2 files changed

+44
-6
lines changed

notebooks/__code/wave_front_dynamics/event_handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def prepare_data_file_index_slider_changed(self, slider_value=None):
5050
self.parent.ui.file_index_value_label.setText(str(slider_value))
5151

5252
boolean_list_of_files_to_use = self.parent.boolean_list_of_files_to_use
53-
self.parent.ui.use_this_file_checkBox.setChecked(boolean_list_of_files_to_use[slider_value])
53+
# self.parent.ui.use_this_file_checkBox.setChecked(boolean_list_of_files_to_use[slider_value])
5454

5555
def use_this_file_clicked(self):
5656
file_index = self.parent.ui.file_index_horizontalSlider.value()
@@ -67,7 +67,7 @@ def prepare_data_bin_size_changed(self, slider_value=None):
6767
def check_state_of_prepare_data_plot(self):
6868
boolean_list_of_files_to_use = self.parent.boolean_list_of_files_to_use
6969
file_index = self.parent.ui.file_index_horizontalSlider.value()
70-
self.parent.ui.prepare_data_widget.setEnabled(boolean_list_of_files_to_use[file_index])
70+
# self.parent.ui.prepare_data_widget.setEnabled(boolean_list_of_files_to_use[file_index])
7171

7272
def calculate_edge_position(self):
7373
o_get = Get(parent=self.parent)

notebooks/wave_front_dynamics.ipynb

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
"cell_type": "code",
4141
"execution_count": null,
4242
"metadata": {
43+
"execution": {
44+
"iopub.execute_input": "2026-03-30T16:31:57.008596Z",
45+
"iopub.status.busy": "2026-03-30T16:31:57.008488Z",
46+
"iopub.status.idle": "2026-03-30T16:32:00.560426Z",
47+
"shell.execute_reply": "2026-03-30T16:32:00.559903Z",
48+
"shell.execute_reply.started": "2026-03-30T16:31:57.008582Z"
49+
},
4350
"run_control": {
4451
"frozen": false,
4552
"read_only": false
@@ -60,7 +67,15 @@
6067
{
6168
"cell_type": "code",
6269
"execution_count": null,
63-
"metadata": {},
70+
"metadata": {
71+
"execution": {
72+
"iopub.execute_input": "2026-03-30T16:32:06.597635Z",
73+
"iopub.status.busy": "2026-03-30T16:32:06.597379Z",
74+
"iopub.status.idle": "2026-03-30T16:32:06.669612Z",
75+
"shell.execute_reply": "2026-03-30T16:32:06.669012Z",
76+
"shell.execute_reply.started": "2026-03-30T16:32:06.597618Z"
77+
}
78+
},
6479
"outputs": [],
6580
"source": [
6681
"%gui qt"
@@ -92,7 +107,15 @@
92107
{
93108
"cell_type": "code",
94109
"execution_count": null,
95-
"metadata": {},
110+
"metadata": {
111+
"execution": {
112+
"iopub.execute_input": "2026-03-30T16:48:13.407843Z",
113+
"iopub.status.busy": "2026-03-30T16:48:13.407577Z",
114+
"iopub.status.idle": "2026-03-30T16:48:13.422821Z",
115+
"shell.execute_reply": "2026-03-30T16:48:13.422367Z",
116+
"shell.execute_reply.started": "2026-03-30T16:48:13.407829Z"
117+
}
118+
},
96119
"outputs": [],
97120
"source": [
98121
"o_wave = WaveFrontDynamics(working_dir=system.System.get_working_dir())\n",
@@ -109,7 +132,15 @@
109132
{
110133
"cell_type": "code",
111134
"execution_count": null,
112-
"metadata": {},
135+
"metadata": {
136+
"execution": {
137+
"iopub.execute_input": "2026-03-30T16:48:27.807545Z",
138+
"iopub.status.busy": "2026-03-30T16:48:27.807068Z",
139+
"iopub.status.idle": "2026-03-30T16:48:27.817239Z",
140+
"shell.execute_reply": "2026-03-30T16:48:27.816648Z",
141+
"shell.execute_reply.started": "2026-03-30T16:48:27.807518Z"
142+
}
143+
},
113144
"outputs": [],
114145
"source": [
115146
"o_wave.load_data()"
@@ -131,6 +162,13 @@
131162
"cell_type": "code",
132163
"execution_count": null,
133164
"metadata": {
165+
"execution": {
166+
"iopub.execute_input": "2026-03-30T16:48:30.085126Z",
167+
"iopub.status.busy": "2026-03-30T16:48:30.084958Z",
168+
"iopub.status.idle": "2026-03-30T16:48:30.247170Z",
169+
"shell.execute_reply": "2026-03-30T16:48:30.246133Z",
170+
"shell.execute_reply.started": "2026-03-30T16:48:30.085110Z"
171+
},
134172
"run_control": {
135173
"frozen": false,
136174
"read_only": false
@@ -168,7 +206,7 @@
168206
"name": "python",
169207
"nbconvert_exporter": "python",
170208
"pygments_lexer": "ipython3",
171-
"version": "3.10.8"
209+
"version": "3.14.3"
172210
},
173211
"toc": {
174212
"colors": {

0 commit comments

Comments
 (0)