Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add location for TMP files #123

Open
gar-onn opened this issue Jan 17, 2022 · 0 comments
Open

Add location for TMP files #123

gar-onn opened this issue Jan 17, 2022 · 0 comments

Comments

@gar-onn
Copy link

gar-onn commented Jan 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant