Skip to content

Derek furst/remove image file - #1030

Merged
yuanzhou merged 3 commits into
dev-integratefrom
Derek-Furst/remove-image-file
Sep 1, 2026
Merged

Derek furst/remove image file#1030
yuanzhou merged 3 commits into
dev-integratefrom
Derek-Furst/remove-image-file

Conversation

@DerekFurstPitt

Copy link
Copy Markdown
Contributor

No description provided.

yuanzhou and others added 2 commits August 14, 2026 10:42
…ple-organ-other

completely removed all uses of sample.other_organ
…er they occurred including api schema yamls and examples

@yuanzhou yuanzhou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DerekFurstPitt Other than removing these fields from the yaml files, there are also underlying methods in schema_triggers and schema_manager which we don't have to delete. For tracking purposes, can you add some comments to those methods to indicate they are no longer being used?

Comment thread src/schema/provenance_schema.yaml Outdated
# The updated_peripherally tag is a temporary measure to correctly handle any attributes
# which are potentially updated by multiple triggers
updated_peripherally: true
image_files_to_add:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also remove image_files_to_add and image_files_to_remove from the schema yaml. They work together for the image file upload and commit/delete.

Comment thread src/schema/provenance_schema.yaml Outdated
# The updated_peripherally tag is a temporary measure to correctly handle any attributes
# which are potentially updated by multiple triggers
updated_peripherally: true
image_files_to_add:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as previous comment, also remove image_files_to_add and image_files_to_remove from the schema yaml.

Comment thread src/schema/provenance_schema.yaml Outdated
# The updated_peripherally tag is a temporary measure to correctly handle any attributes
# which are potentially updated by multiple triggers
updated_peripherally: true
metadata_files_to_add:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a similar fashion, remove metadata_files_to_add and metadata_files_to_remove too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed this with my latest update, let me know if there's any further changes requested or anything I missed

…e unused functions in schema_triggers relating to metadata_files and images_files but preserving their original uses for record keeping
@yuanzhou
yuanzhou merged commit 4070bd2 into dev-integrate Sep 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants