Skip to content

Commit 4cd07b1

Browse files
committed
Removed unused table columns from CLEM tables
1 parent 67e1bdf commit 4cd07b1

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/murfey/util/db.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ class CLEMImageSeries(SQLModel, table=True): # type: ignore
272272
number_of_members: int = (
273273
0 # Expected number of image stacks belonging to this series
274274
)
275-
images_aligned: bool = False # Have all members been aligned?
276-
rgbs_created: bool = False # Have all members been colourised?
277275
composite_created: bool = False # Has a composite image been created?
278276
composite_image: Optional[str] = None # Full path to composite image
279277

@@ -322,13 +320,6 @@ class CLEMImageStack(SQLModel, table=True): # type: ignore
322320
default=None,
323321
)
324322

325-
# Process checklist for each image
326-
stack_created: bool = False # Verify that the stack has been created
327-
image_aligned: bool = False # Verify that image alignment has been done on stack
328-
aligned_image: Optional[str] = None # Full path to aligned image stack
329-
rgb_created: bool = False # Verify that rgb image has been created
330-
rgb_image: Optional[str] = None # Full path to colorised image stack
331-
332323

333324
"""
334325
TEM SESSION AND PROCESSING WORKFLOW

src/murfey/workflows/clem/register_preprocessing_results.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def register_lif_preprocessing_result(
120120
clem_img_stk.parent_lif = clem_lif_file
121121
clem_img_stk.parent_series = clem_img_series
122122
clem_img_stk.channel_name = result.channel
123-
clem_img_stk.stack_created = True
124123
db.add(clem_img_stk)
125124
db.commit()
126125
db.refresh(clem_img_stk)
@@ -309,7 +308,6 @@ def register_tiff_preprocessing_result(
309308
clem_img_stk.associated_metadata = clem_metadata
310309
clem_img_stk.parent_series = clem_img_series
311310
clem_img_stk.channel_name = result.channel
312-
clem_img_stk.stack_created = True
313311
db.add(clem_img_stk)
314312
db.commit()
315313
db.refresh(clem_img_stk)

0 commit comments

Comments
 (0)