Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Yu <joey@jyu.dev>
  • Loading branch information
itsjoeoui committed Dec 4, 2023
1 parent fc722c0 commit 517e624
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ def BATCH_PROCESSOR(
# if iteration 1, pattern find, then write to SmallMemory
if curr_iter == 1:
files = get_fnames(directory_path, pattern if pattern else "*")
return BATCH_OUTPUT(
fname=String(s=""), n_files=Scalar(c=len(files) + 1)
)
return BATCH_OUTPUT(fname=String(s=""), n_files=Scalar(c=len(files) + 1))
elif curr_iter == 2: # loop index starts at 1, sigh
files = get_fnames(directory_path, pattern if pattern else "*")
SmallMemory().write_to_memory(
Expand Down

0 comments on commit 517e624

Please sign in to comment.