Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/murfey/client/analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ def _find_context(self, file_path: Path) -> bool:
# Tomography and SPA workflow checks
split_file_name = file_path.name.split("_")
if split_file_name:
# Skip context for gain files
if "gain" in split_file_name[-1]:
return False

# Files starting with "FoilHole" belong to the SPA workflow
if split_file_name[0].startswith("FoilHole"):
if not self._context:
Expand Down