@@ -28,6 +28,8 @@ export default defineComponent({
2828 displaySequenceAnnotations:
2929 configuration .value .display_sequence_annotations ,
3030 runInferenceOnUpload: configuration .value .run_inference_on_upload ,
31+ createPulseAnnotationsFromBatbot:
32+ configuration .value .create_pulse_annotations_from_batbot ,
3133 spectrogramXStretch: configuration .value .spectrogram_x_stretch ,
3234 spectrogramView: configuration .value .spectrogram_view ,
3335 defaultColorScheme: configuration .value .default_color_scheme ,
@@ -54,6 +56,8 @@ export default defineComponent({
5456 configuration .value .display_sequence_annotations ;
5557 settings .runInferenceOnUpload =
5658 configuration .value .run_inference_on_upload ;
59+ settings .createPulseAnnotationsFromBatbot =
60+ configuration .value .create_pulse_annotations_from_batbot ;
5761 settings .spectrogramXStretch = configuration .value .spectrogram_x_stretch ;
5862 settings .defaultColorScheme = configuration .value .default_color_scheme ;
5963 settings .defaultBackgroundColor =
@@ -74,6 +78,8 @@ export default defineComponent({
7478 display_pulse_annotations: settings .displayPulseAnnotations ,
7579 display_sequence_annotations: settings .displaySequenceAnnotations ,
7680 run_inference_on_upload: settings .runInferenceOnUpload ,
81+ create_pulse_annotations_from_batbot:
82+ settings .createPulseAnnotationsFromBatbot ,
7783 spectrogram_x_stretch: settings .spectrogramXStretch ,
7884 default_color_scheme: settings .defaultColorScheme ,
7985 default_spectrogram_background_color: settings .defaultBackgroundColor ,
@@ -148,6 +154,13 @@ export default defineComponent({
148154 label =" Run Inference on Upload"
149155 />
150156 </v-row >
157+ <v-row >
158+ <v-switch
159+ v-model =" settings.createPulseAnnotationsFromBatbot"
160+ :color =" settings.createPulseAnnotationsFromBatbot ? 'primary' : ''"
161+ label =" Create pulse annotations from BatBot on import"
162+ />
163+ </v-row >
151164 <v-row >
152165 <v-col cols =" 3" >
153166 <div class =" text-caption" >Stretch compressed spectrogram</div >
0 commit comments