Files
Jungfraujoch/reader/FileNamePatterns.h
leonarski_f 3f87e0565f
Build Packages / Build documentation (push) Successful in 1m47s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 22m9s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 12m31s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 13m14s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 22m22s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 4m55s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 5m55s
Build Packages / Unit tests (push) Successful in 1h3m54s
Build Packages / Validation Battery (push) Successful in 38m20s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 26m32s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 37m6s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 21m17s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 37m4s
Build Packages / Generate python client (push) Successful in 1m7s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 23m17s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 29m26s
Build Packages / Create release (push) Successful in 1m19s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 40m18s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 39m23s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 24m34s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 33m22s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 14m55s
v1.0.0-rc.188 (#99)
* jfjoch_viewer: The file browser and the open dialog list every format the viewer opens, including frames numbered in their extension (`name.001`) and `.cbf.gz`, `.mccd`, `.sfrm`, `.nxs`, `.cxi` and `.xtc` files.
* jfjoch_viewer: After processing a CBF, marCCD, SMV or SFRM sweep, the images stay on screen with the results drawn over them.
* rugnux: No more Ceres thread warnings on machines with fewer than 16 CPU threads.

Reviewed-on: #99
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
2026-11-20 06:50:06 +01:00

21 lines
1.0 KiB
C++

// SPDX-FileCopyrightText: 2026 Filip Leonarski, Paul Scherrer Institute <filip.leonarski@psi.ch>
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include <string>
#include <vector>
// The files the viewer lists as openable, as wildcards in the QDir name-filter syntax. Only what is
// listed is decided here: the readers tell the formats apart by content (.img is miniCBF, marCCD or
// SMV depending on the writer).
//
// An HDF5 dataset is opened by its master or its processing result, never by the _data_NNNNNN.h5
// shards a master links to. A raw frame is one image per file, and naming any frame opens its whole
// sweep; the marCCD and ADSC software number a frame in its extension ("name.001", "name.0001").
inline const std::vector<std::string> OPENABLE_FILE_PATTERNS = {
"*_master.h5", "*_process.h5", "*.nxs", "*.cxi", "*.xtc",
"*.cbf", "*.cbf.gz", "*.img", "*.mccd", "*.marccd", "*.tif", "*.tiff", "*.smv", "*.osc", "*.sfrm",
"*.[0-9][0-9][0-9]", "*.[0-9][0-9][0-9][0-9]", "*.[0-9][0-9][0-9][0-9][0-9]"
};