Skip to content

Read external partition weights - #8

Merged
JMorado merged 1 commit into
michellab:masterfrom
JMorado:feature/external-weights
Nov 10, 2026
Merged

JMorado merged 1 commit into
michellab:masterfrom
JMorado:feature/external-weights

Conversation

@JMorado

@JMorado JMorado commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

This PR adds support for external partitioning schemes, allowing atomic weights to be read from a text file. A new --weights command line option selects this scheme. When used alongside --mesh, this allows PyXDM to work with any integration mesh and partition, including those generated by other programmes (e.g., postg).

@JMorado
JMorado force-pushed the feature/external-weights branch from 970e8f0 to d7eb0ba Compare November 10, 2026 23:50
@JMorado
JMorado merged commit 5e8e244 into michellab:master Nov 10, 2026
4 checks passed
@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.45455% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@7a46c5d). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pyxdm/cli.py 85.71% 1 Missing ⚠️
pyxdm/partitioning/partitioning.py 96.96% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage          ?   78.02%           
=========================================
  Files             ?       17           
  Lines             ?      810           
  Branches          ?        0           
=========================================
  Hits              ?      632           
  Misses            ?      178           
  Partials          ?        0           

☔ 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.

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.

1 participant