Skip to content

Commit 360a345

Browse files
committed
Allow 'None' in 'dose_per_frame' key in 'Base' sub-class
1 parent aa690ff commit 360a345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/util/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class PreprocessingParametersTomo(BaseModel):
368368
eer_fractionation: int
369369

370370
class Base(BaseModel):
371-
dose_per_frame: float
371+
dose_per_frame: Optional[float] # Doesn't match the model?
372372
gain_ref: Optional[str]
373373
manual_tilt_offset: float
374374
eer_fractionation: int

0 commit comments

Comments
 (0)