Skip to content

Comments

CI TESTING#12

Draft
psavery wants to merge 34 commits intomasterfrom
bnl-updates
Draft

CI TESTING#12
psavery wants to merge 34 commits intomasterfrom
bnl-updates

Conversation

@psavery
Copy link
Owner

@psavery psavery commented Feb 13, 2026

No description provided.

@psavery psavery force-pushed the bnl-updates branch 3 times, most recently from 12bfbce to f2d195a Compare February 13, 2026 20:30
psavery pushed a commit that referenced this pull request Feb 17, 2026
Search for several different ptycho files
psavery and others added 19 commits February 18, 2026 13:30
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Otherwise, it is too long and you sometimes can't close it.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This adds the decorator `@apply_to_each_array` automatically to every
transform function, unless explicitly instructed not to in the JSON
description file via `"apply_to_each_array": false`.

This is being done because nearly every operator in the codebase needs
this decorator, and it is tedious to have to remember it every time.

It is not added automatically if it is already present on an operator.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
They are no longer needed, as it is applied automatically.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This fixes a few issues the tests identified with the automatic
decoration.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
This adds support for scan IDs in the following places:

1. The DataSource class
2. The DataPropertiesPanel (if present, they are displayed with the tilt angles)
3. EMD files (they are written in `/data/tomography/scan_ids`)
4. In operators (`dataset.scan_ids`)

The scan IDs are automatically read from the PyXRF and Ptycho workflows and saved
on the Data Source.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
The pixel size name changed recently. We need to support both the
old version and the new version.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This gets the PyXRF dialogs to automatically locate `pyxrf-utils`
executables in some standard paths, starting with the last one
that the user selected. It will set it automatically if it exists.

If it does not exist, the user will be forced to pick one.

The validation error is significantly easier to read than the
previous error that would be encountered.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This is now a generic operator for shifting the rotation center.

You generate a set of reconstructions from a single slice with a set
of test rotation centerss and are able to view each one, and determine
which rotation center produces the best reconstruction.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This prevents the operator dialog from just appearing randomly on
other monitors or in random places on the desktop window.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
Verify it is available to set before using it. Otherwise, we get
a warning.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
It can now perform other reconstruction operations, such as mlem.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
These are not necessarily places we have encountered seg faults,
but places we *could* potentially encounter them (and it's possible they
have caused segmentation faults in the past).

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
psavery and others added 2 commits February 19, 2026 09:14
When we tried to operate on a non-existing ptycho directory, it would
cause major issues, including a crash.

Make sure the ptycho directory exists before we do anything else.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
psavery and others added 11 commits February 19, 2026 11:31
fix pipeline execution with breakpoint when modifying operators
Signed-off-by: Alessandro Genova <alessandro.genova@kitware.com>
This allows "and" and "or" to be used in json description files, like
this:

```json
  "visible_if": "algorithm == 'mlem' or algorithm == 'ospml_hybrid'"
```

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This also adds a few more tomopy methods. The available methods
are currently: gridrec, fbp, mlem, and ospml_hybrid.

The mlem and ospml_hybrid ones are iterative methods and require the
`num_iter` argument.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
add ability to export table results as csv
This additional step prevents it from being on a different monitor.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This splits up the slice into the proper "Projection No" and "slice"
values. It also fixes all the logic for determining and applying
the rotation center.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
add PSD and FSC 1D metric operators
This is needed to prevent some errors.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
These show quality metrics that help you align the center.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
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.

2 participants