Skip to content

Commit e28daf5

Browse files
committed
[datatransfer, files, protocoltest] minor console feedback adjustments
1 parent e82ceab commit e28daf5

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

src/instrumentman/datatransfer/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ def main_download(
3636
eol_bytes = com.eombytes
3737
started = False
3838
logger.info("Starting data download")
39-
logger.debug("Waiting for first line...")
39+
logger.debug("Waiting for first line")
4040
with Progress(
4141
TextColumn("[progress.description]{task.description}"),
4242
BarColumn(),
4343
TextColumn("{task.completed} line(s)"),
4444
TimeElapsedColumn(),
4545
console=console
4646
) as progress:
47-
task = progress.add_task("Waiting for data...", total=None)
47+
task = progress.add_task("Waiting for data", total=None)
4848

4949
lines = 0
5050
while True:
5151
try:
5252
data = com.receive_binary()
5353
if not started:
5454
started = True
55-
logger.debug("Received first line...")
55+
logger.debug("Received first line")
5656
progress.update(task, description="Receiving data")
5757

5858
if data == eof_bytes and autoclose and not include_eof:

src/instrumentman/filetransfer/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def run_listing_tree(
213213
transient=True
214214
) as progress:
215215
task = progress.add_task(
216-
"Indexing directories...",
216+
"Indexing directories",
217217
total=None,
218218
path=""
219219
)

src/instrumentman/protocoltest/app.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def tests_geocom(
4646
)
4747
Confirm.ask("Proceed with tests", console=console, default=True)
4848

49-
console.print("Testing subsystems...")
5049
logger.info("Starting GeoCom tests")
5150
tests: list[
5251
tuple[str, Callable[..., GeoComResponse[Any]], tuple[Any, ...]]
@@ -105,7 +104,6 @@ def tests_gsidna(
105104
)
106105
Confirm.ask("Proceed with tests", console=console, default=True)
107106

108-
console.print("Testing commands...")
109107
logger.info("Starting GSI Online DNA tests")
110108
tests: list[
111109
tuple[str, Callable[..., GsiOnlineResponse[Any]], tuple[Any, ...]]

0 commit comments

Comments
 (0)