diff --git a/ecs/jskult-batch-daily/sample_create_bio_sales_lot.py b/ecs/jskult-batch-daily/sample_create_bio_sales_lot.py deleted file mode 100644 index c92ebdf2..00000000 --- a/ecs/jskult-batch-daily/sample_create_bio_sales_lot.py +++ /dev/null @@ -1,35 +0,0 @@ -# import src.batch.bio_sales.create_bio_sales_lot as create_bio_sales_lot -import src.batch.common.batch_context as batch_context -import src.batch.ultmarc.ultmarc_process as ultmarc_process - -# context = batch_context.BatchContext.get_instance().is_ultmarc_imported = True -context = batch_context.BatchContext.get_instance() -context.syor_date = '2023/09/28' - -# import gzip -# import os -# import tarfile - - -# def main(): - -# gzname = '/Users/shimoda.m/Downloads/bio_slip_data_20230612204112.gz' -# ret = [] -# with tarfile.open(gzname, 'r') as tar: -# temp_dir = os.path.dirname(gzname) -# tar.extractall(path=temp_dir) -# extracted_files = tar.getnames() -# for extracted_file in extracted_files: -# file = os.path.join(temp_dir, extracted_file) -# ret.append(file) -# return ret - - -if __name__ == '__main__': - # main() - ultmarc_process.exec_import() - - # create_bio_sales_lot.exec() - - -# tar -zxvf '/Users/shimoda.m/Downloads/bio_slip_data_20230612204112-1.gz'