Skip to content
Merged
Show file tree
Hide file tree
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: 3 additions & 1 deletion src/murfey/client/analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ def __init__(
self._acquisition_software = ""
self._context: Context | None = None
self.queue: queue.Queue = queue.Queue()
self.thread = threading.Thread(name="Analyser", target=self._analyse_in_thread)
self.thread = threading.Thread(
name=f"Analyser {basepath_local}", target=self._analyse_in_thread
)
self._stopping = False
self._halt_thread = False
self._murfey_config = (
Expand Down
3 changes: 2 additions & 1 deletion src/murfey/client/watchdir_multigrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def _process(self):
sample_dirs = list(d.glob("Sample*"))
if d.is_dir() and len(sample_dirs):
for sample in sample_dirs:
if len(list(sample.glob("*.mdoc"))):
if (sample / "Session.dm").is_file():
# Transfer only folders where a tomo session exists
if sample not in self._seen_dirs:
self._handle_metadata(
sample,
Expand Down
Loading