lagmoellertim/unsilence

Add location for TMP files

gar-onn opened this issue · 0 comments

Hi,

I use my RAM as /tmp, which i would like to use for the temporary storage.

I fixed this by adding

parser.add_argument("--tmp", type=convert_to_path(should_exist=False, should_parents_exist=True), default=".tmp",
                        help="Path to where the tmp files should be")

to ParseArguments.py, and this

+  tmpdir=args.tmp
-  continual = Unsilence(args.input_file)
+  continual = Unsilence(args.input_file,temp_dir=tmpdir)

to EntryPoint.py.

Sorry I am not used to editing others people's git's