Skip to content

Commit 543560c

Browse files
committed
suggestions from @AbbyGi in #8
* this PR now incorporates the branch `refactor-tasks` and includes a minor print formatting change and removing the extra layer of flow
1 parent b2b488f commit 543560c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

data_validation.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def read_stream(run, stream):
2121

2222

2323
@flow
24-
def read_all_streams(uid, beamline_acronym, dry_run=False, api_key=None):
24+
def data_validation(uid, beamline_acronym="tst", dry_run=False, api_key=None):
2525
logger = get_run_logger()
2626
if dry_run:
2727
logger.info("Dry run: not creating Tiled client")
@@ -40,8 +40,3 @@ def read_all_streams(uid, beamline_acronym, dry_run=False, api_key=None):
4040
logger.info(f"{stream} nbytes = {stream_data.nbytes:_}")
4141
elapsed_time = ttime.monotonic() - start_time
4242
logger.info(f"{elapsed_time = }")
43-
44-
45-
@flow
46-
def data_validation(uid, dry_run=False, api_key=None):
47-
read_all_streams(uid, beamline_acronym="tst", dry_run=dry_run, api_key=api_key)

0 commit comments

Comments
 (0)