Conversation
Summary of ChangesHello @claudio525, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request systematically removes the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request aims to remove the merge_ts functionality. The changes are mostly correct, removing the script, its Cython helper, documentation, and project configuration entries. However, I've found a critical issue in workflow/scripts/plan_workflow.py where references to the removed StageIdentifier.MergeTimeslices enum still exist, which will lead to runtime errors. I've left a specific comment on this. Additionally, it appears that the template files workflow/templates/hypocentre/merge_ts.cylc and workflow/templates/nesi/merge_ts.cylc are now unused and should also be removed to complete the cleanup.
There was a problem hiding this comment.
Pull request overview
This PR removes the "merge_ts" (Merge Timeslices) functionality from the workflow system. The merge_ts stage was used to merge output timeslice files from EMOD3D simulations. The removal includes deleting the Python implementation, Cython optimization code, CLI entry points, and associated documentation.
Key changes:
- Removed the
MergeTimeslicesstage identifier from the workflow planning system - Deleted the merge_ts Python module and Cython loop implementation
- Removed CLI entry point and build configuration for the merge-ts command
- Updated documentation to remove references to the Merge Timeslices stage
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
workflow/scripts/plan_workflow.py |
Removed MergeTimeslices enum value from StageIdentifier class |
workflow/scripts/merge_ts_loop.pyx |
Deleted Cython implementation for efficient file descriptor merging |
workflow/scripts/merge_ts.py |
Deleted Python module containing merge_ts CLI with XYTS and HDF5 merge functions |
workflow/__init__.py |
Removed "Merge Timeslices" entry from the workflow stages documentation table |
wiki/Stages.md |
Removed complete documentation section for the Merge Timeslices stage |
setup.py |
Deleted setup.py file that was used to build the Cython extension |
pyproject.toml |
Removed merge-ts CLI entry point from project scripts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lispandfound
left a comment
There was a problem hiding this comment.
Also delete the templates folder in the workflow package.
There was a problem hiding this comment.
You also need to remove the cython requirement at the top of the pyproject.toml file. This is added to build merge-ts but is no longer needed.
No description provided.