Skip to content

Update the interface with asimov#57

Merged
transientlunatic merged 1 commit into
masterfrom
update-asimov
Jan 12, 2026
Merged

Update the interface with asimov#57
transientlunatic merged 1 commit into
masterfrom
update-asimov

Conversation

@transientlunatic

Copy link
Copy Markdown
Owner

Update the interface between heron and asimov.

Copilot AI review requested due to automatic review settings January 12, 2026 14:13
@transientlunatic transientlunatic self-assigned this Jan 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the interface between heron and asimov to improve compatibility and functionality. The changes focus on modernizing the template structure, fixing a spelling error, enabling pesummary integration, and improving the pipeline submission process.

Changes:

  • Enabled pesummary imports in utils.py by uncommenting previously disabled imports
  • Restructured the asimov template configuration to use conditional sections and improved parameter handling
  • Added Python version compatibility handling for importlib.resources (Python 3.9+ vs earlier versions)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
heron/utils.py Uncommented pesummary import statements to enable functionality
heron/asimov/heron_template.yml Fixed spelling error, restructured template with conditional sections and improved parameter access patterns
heron/asimov/init.py Added importlib compatibility handling, updated pipeline arguments, improved build_dag with dry-run support and better argument construction

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread heron/asimov/__init__.py
Comment on lines +13 to +17
# Handle importlib.resources compatibility across Python versions
if sys.version_info >= (3, 9):
from importlib.resources import files
else:
from importlib_resources import files

Copilot AI Jan 12, 2026

Copy link

Choose a reason for hiding this comment

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

The code imports importlib_resources for Python versions below 3.9, but this dependency is not listed in requirements.txt or pyproject.toml. Add importlib_resources; python_version < "3.9" to the dependencies to ensure the package is available when needed.

Copilot uses AI. Check for mistakes.
@transientlunatic transientlunatic merged commit c6c2f73 into master Jan 12, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants