Skip to content

Commit

Permalink
Cleaned up stray print, and corrected 'mongo' -> 'tiled' in tiled con…
Browse files Browse the repository at this point in the history
…sumer docstrings.
  • Loading branch information
canismarko committed Jan 8, 2025
1 parent 5df0837 commit c04daee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/firefly/run_browser/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def plot_runs(self, runs: Mapping, xsignal: str):
ysignals = []
for run in runs.values():
ysignals.extend(run.columns)
print(xsignal, ysignals)
# Remove the x-signal from the list of y signals
ysignals = sorted(list(dict.fromkeys(ysignals)))
# Plot the runs
Expand Down
4 changes: 2 additions & 2 deletions src/queueserver/tiled_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def process_document(self, topic: str, name: str, doc: Mapping) -> bool:


def main():
"""Launch the mongo consumer."""
"""Launch the tiled consumer."""
logging.basicConfig(level=logging.WARNING)
config = haven.load_config()
bootstrap_servers = ["localhost:9092"]
Expand All @@ -108,7 +108,7 @@ def main():
client = from_uri(tiled_uri, api_key=tiled_api_key)
client.include_data_sources()

# Create a MongoConsumer that will listen for new documents.
# Create a Tiled consumer that will listen for new documents.
consumer = TiledConsumer(
tiled_client=client,
topic_catalog_map=topic_catalog_map,
Expand Down

0 comments on commit c04daee

Please sign in to comment.