Skip to content

Commit

Permalink
[minor] unwanted variable removed
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamblast committed Sep 1, 2023
1 parent 0bced6b commit 9a05644
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions koogu/data/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from koogu.utils.detections import assess_annotations_and_clips_match
from koogu.utils.filesystem import AudioFileList

_program_name = 'preprocess'


def batch_process(audio_settings, input_generator, label_helper,
aggregator_kwargs,
Expand All @@ -39,7 +37,7 @@ def batch_process(audio_settings, input_generator, label_helper,
f'Output directory {dest_root} already exists. Contents may get ' +
'overwritten. CAUTION: Stale files within the directory could ' +
'lead to corruption of training inputs.',
Warning, _program_name, '')
Warning, 'preprocess', '')
else:
os.makedirs(dest_root, exist_ok=True)

Expand Down

0 comments on commit 9a05644

Please sign in to comment.