• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stfc / alc-dls-exafs
50%

Build:
DEFAULT BRANCH: main
Repo Added 17 Sep 2025 09:08PM UTC
Token gMzvCi5nlgED3Tu3WfG0lBKJ5PBHLRAsU regen
Build 181 Last
Files 11
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • add_readme
  • average_over_sites
  • cff
  • ci
  • clarify-plot-include-help
  • containers_2
  • debye-waller
  • dependabot/uv/cryptography-46.0.5
  • dependabot/uv/cryptography-46.0.6
  • dependabot/uv/cryptography-46.0.7
  • dependabot/uv/filelock-3.20.3
  • dependabot/uv/fonttools-4.60.2
  • dependabot/uv/idna-3.15
  • dependabot/uv/lxml-6.1.0
  • dependabot/uv/marimo-0.23.0
  • dependabot/uv/orjson-3.11.6
  • dependabot/uv/pillow-12.1.1
  • dependabot/uv/pillow-12.2.0
  • dependabot/uv/pip-26.0
  • dependabot/uv/pip-26.1
  • dependabot/uv/pygments-2.20.0
  • dependabot/uv/pymdown-extensions-10.21.3
  • dependabot/uv/pynacl-1.6.2
  • dependabot/uv/pytest-9.0.3
  • dependabot/uv/python-dotenv-1.2.2
  • dependabot/uv/requests-2.33.0
  • dependabot/uv/starlette-1.0.1
  • dependabot/uv/urllib3-2.6.3
  • dependabot/uv/urllib3-2.7.0
  • dependabot/uv/virtualenv-20.36.1
  • extract_paths
  • feat-arbitrary-custom-tags
  • fix_cli_generate_typo
  • fix_pipeline_all-frames-cli-opption
  • main
  • minmax
  • move_marimo_utils
  • notebook-advanced-tab
  • notebooks
  • reuse_potentials
  • update-default-exchange-in-feff-configs
  • validation_fix
  • write_data

12 Jun 2026 03:59PM UTC coverage: 50.388% (-9.4%) from 59.817%
27427257496

push

github

web-flow
Extract paths (#70)

* WIP Refactor to use HDF5 files to store the FEFF otuput including path information

Storing all the paths for all the frames/sites generates a very large number of files. This approach organises and compresses that output into an easy-to-transport single archive file. HDF5 was chosen as it's flexible saves the FeffConfig metadata also) and is already a dependency from larch.

Also added the option to filter out hydrogens as they typically don't contribute to EXAFS and can cause some issue with FEFF.

* feat: add curved-wave amplitude ratio (cw_ratio) path filtering

Parse FEFF's files.dat to extract the curved-wave chi amplitude ratio
for each scattering path and thread it through the full pipeline:

- feff_utils: add parse_files_dat() to read cw_ratio from files.dat
- hdf5_store: store and read cw_ratio as an HDF5 attribute per path
- exafs_data: add cw_ratio field to PathContribution; average across
  samples in PathAggregator.finalize(); add filter_path_contributions()
  utility (filters by min_cw_ratio threshold and/or top_n cap, preserving
  r_eff ordering among survivors)
- cli: add --min-cw-ratio option to both `analyze` and `pipeline` commands
- tests: add TestParseFilesDat and TestFilterPathContributions
- scripts: add pack_output_to_hdf5.py to import an existing
  pipeline_output/ tree into HDF5 without re-running FEFF
- README: document HDF5 output mode and the pack script

* change all return sites and unpack sites of (chi, k) → (k, chi) to match the documented convention.

* feat: store raw FEFF parameters and MD-averaged path contributions in HDF5

- `PathContribution` gains `amp`, `pha`, `lam`, `rep`, `k_param` (raw FEFF
  params for on-the-fly chi recomputation), `source_frames`, `source_sites`
  (MD provenance), and `contribution_pct`; `PathAggregator` averages and
  populates all new fields
- `iter_path_contributions` yields `(path_key, info, frame_index, site_index)`
  4-tuples; all call sites updated to unpac... (continued)

1883 of 3737 relevant lines covered (50.39%)

2.02 hits per line

Relevant lines Covered
Build:
Build:
3737 RELEVANT LINES 1883 COVERED LINES
2.02 HITS PER LINE
Source Files on main
  • Tree
  • List 11
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27427257496 main Extract paths (#70) * WIP Refactor to use HDF5 files to store the FEFF otuput including path information Storing all the paths for all the frames/sites generates a very large number of files. This approach organises and compresses that output in... push 12 Jun 2026 04:00PM UTC web-flow github
50.39
27426696779 extract_paths remove the filter_h5.py script I wrote this before the data restructure. Now that we're much more efficient we don't need this Pull #70 12 Jun 2026 03:49PM UTC Kane Shenton github
50.39
27426032650 extract_paths fix to the analyse command with hdf5 files (following the redesign of the data structure) Pull #70 12 Jun 2026 03:37PM UTC Kane Shenton github
50.39
27425797944 main Bump fonttools from 4.59.0 to 4.60.2 (#69) Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.59.0 to 4.60.2. - [Release notes](https://github.com/fonttools/fonttools/releases) - [Changelog](https://github.com/fonttools/fonttools/bl... push 12 Jun 2026 03:33PM UTC web-flow github
59.82
27424618622 extract_paths Merge 76baad312 into 869b8dd05 Pull #70 12 Jun 2026 03:13PM UTC web-flow github
47.6
27424045331 extract_paths ruff fixes push 12 Jun 2026 03:03PM UTC Kane Shenton github
47.6
27422907639 main Bump starlette from 0.47.2 to 1.0.1 (#68) Bumps [starlette](https://github.com/Kludex/starlette) from 0.47.2 to 1.0.1. - [Release notes](https://github.com/Kludex/starlette/releases) - [Changelog](https://github.com/Kludex/starlette/blob/main/doc... push 12 Jun 2026 02:51PM UTC web-flow github
59.82
27422889838 main Bump pymdown-extensions from 10.16.1 to 10.21.3 (#67) Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.16.1 to 10.21.3. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commit... push 12 Jun 2026 02:50PM UTC web-flow github
59.82
27422878074 main Bump idna from 3.10 to 3.15 (#66) Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.15. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md) - [Commits](https://github.co... push 12 Jun 2026 02:50PM UTC web-flow github
59.82
27422859539 main Bump urllib3 from 2.5.0 to 2.7.0 (#65) Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.7.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)... push 12 Jun 2026 02:49PM UTC web-flow github
59.82
See All Builds (129)

Badge your Repo: alc-dls-exafs

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc