File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class ConnectionFileParameters(BaseModel):
9494
9595
9696class SessionInfo (BaseModel ):
97- session_id : Optional [int ]
97+ session_id : Optional [int ] = None
9898 session_name : str = ""
9999 rescale : bool = True
100100
@@ -181,7 +181,7 @@ class Sample(BaseModel):
181181 sample_group_id : int
182182 sample_id : int
183183 subsample_id : int
184- image_path : Optional [Path ]
184+ image_path : Optional [Path ] = None
185185
186186
187187class BLSampleImageParameters (BaseModel ):
@@ -312,7 +312,7 @@ class ProcessFile(BaseModel): # Rename to TomoProcessFile
312312 path : str
313313 description : str
314314 tag : str
315- data_collection_id : Optional [int ]
315+ data_collection_id : Optional [int ] = None
316316 image_number : int
317317 pixel_size : float
318318 dose_per_frame : float
@@ -352,7 +352,7 @@ class CompletedTiltSeries(BaseModel):
352352
353353class PreprocessingParametersTomo (BaseModel ):
354354 dose_per_frame : float
355- gain_ref : Optional [str ]
355+ gain_ref : Optional [str ] = None
356356 experiment_type : str
357357 voltage : float
358358 image_size_x : int
@@ -363,12 +363,12 @@ class PreprocessingParametersTomo(BaseModel):
363363 file_extension : str
364364 tag : str
365365 tilt_series_tag : str
366- eer_fractionation_file : Optional [str ]
366+ eer_fractionation_file : Optional [str ] = None
367367 eer_fractionation : int
368368
369369 class Base (BaseModel ):
370370 dose_per_frame : float
371- gain_ref : Optional [str ]
371+ gain_ref : Optional [str ] = None
372372 manual_tilt_offset : float
373373 eer_fractionation : int
374374
You can’t perform that action at this time.
0 commit comments