context.py

clew/propose/context.py

Everything a detector is allowed to look at, assembled once.

can_measure

bool clew.propose.context.Context.can_measure(self)

Whether this run can measure a candidate against a real index.

clew/propose/context.py:53

Show on the map →

Called by none

Calls none

Source · 3 lines
    def can_measure(self) -> bool:
        """@brief Whether the dry-run gate is available on this run."""
        return self.dry_run and self.db_path is not None and self.db_path.is_file()

1 more lines, not shown

Activity · 1 steps
lines 55–55return self.dry_run and self.db_path is not None and self.db_path.is_file()

Requirements

REQ-DDB-CONFIG-001