Skip to content

Update apps#104

Merged
mattwthompson merged 5 commits into
compute-layerfrom
update-apps
Jul 21, 2026
Merged

Update apps#104
mattwthompson merged 5 commits into
compute-layerfrom
update-apps

Conversation

@mattwthompson

@mattwthompson mattwthompson commented Jul 16, 2026

Copy link
Copy Markdown
Member

Closes #37
Closes #70
Closes #102

@codecov-commenter

codecov-commenter commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 16.91176% with 113 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.26%. Comparing base (4d80426) to head (adc9d15).
⚠️ Report is 6 commits behind head on compute-layer.

Files with missing lines Patch % Lines
dimsim/compute/apps.py 23.59% 68 Missing ⚠️
dimsim/compute/workflow.py 0.00% 29 Missing ⚠️
dimsim/compute/fetch.py 0.00% 12 Missing ⚠️
dimsim/compute/jobs.py 0.00% 2 Missing ⚠️
dimsim/compute/prep.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@                Coverage Diff                @@
##           compute-layer     #104      +/-   ##
=================================================
- Coverage          70.64%   69.26%   -1.38%     
=================================================
  Files                 17       19       +2     
  Lines               1475     1604     +129     
=================================================
+ Hits                1042     1111      +69     
- Misses               433      493      +60     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mattwthompson mattwthompson changed the title Add basic tests for setup apps Update apps Jul 16, 2026
Comment on lines +63 to +69
"""
@python_app
def prepare_openmm_system(
packing_future: dict[str, BulkLiquid | Topology],
job_dir: str,
) -> dict[str, BulkLiquid | openmm.System]:
"""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

MT: should go

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 simulation “apps” pipeline and workflow interface to support a multi-step run (packing → OpenMM setup → minimization → equilibration → production → density analysis), and adds a helper to fetch job output trajectories from target metadata (supporting the “decouple compute and targets” direction referenced in the linked issues).

Changes:

  • Extend the Parsl workflow to run equilibration/production steps and then perform density analysis.
  • Add typed config structures (ensemble/equilibration/minimization) and broaden compute config typing through the workflow/prep/jobs layers.
  • Add a fetch_trajectory_paths_from_target helper and update the density example to use submit_target.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
examples/run_density.py Updates example to submit targets via SimulationWorkflow and fetch resulting trajectories.
dimsim/configs/minimization.py Adds a typed minimization config and defaults.
dimsim/configs/equilibration.py Adds a typed equilibration config structure.
dimsim/configs/ensemble.py Introduces an Ensemble enum for config typing.
dimsim/compute/workflow.py Refactors submission to support target-based submission and new pipeline stages.
dimsim/compute/prep.py Tightens typing for target→compute-config conversion and updates supported tags.
dimsim/compute/jobs.py Generalizes job-id creation to BaseComputeConfig and adjusts hashed parameters.
dimsim/compute/fetch.py Adds helper to locate production trajectory paths based on target + compute parameters.
dimsim/compute/apps.py Adds equilibration/production/analysis apps and expands minimization outputs for downstream steps.
dimsim/_tests/compute/test_apps.py Extends test coverage to system creation and energy minimization behaviors.

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

Comment thread dimsim/compute/apps.py
Comment thread dimsim/compute/apps.py Outdated
Comment thread dimsim/compute/apps.py Outdated
Comment thread dimsim/compute/apps.py
Comment thread dimsim/compute/apps.py Outdated
Comment thread dimsim/compute/jobs.py
Comment thread dimsim/compute/fetch.py Outdated
Comment thread dimsim/compute/fetch.py Outdated
Comment thread dimsim/_tests/compute/test_apps.py Outdated
Comment thread examples/run_density.py Outdated

This comment was marked as outdated.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Fix

Update

Fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants