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 an output options to the nodesdb tools #120

Open
ArthurPERE opened this issue Apr 15, 2022 · 3 comments
Open

add an output options to the nodesdb tools #120

ArthurPERE opened this issue Apr 15, 2022 · 3 comments

Comments

@ArthurPERE
Copy link

Hello

Can you please add an option to the nodesdb tools to redirect the output nodesDB.txt in an another place ?
It's for continue to use the tools even if we can't write inside the /usr directory.

Thank,
Regards

@ceanothus
Copy link

Hi, just chiming in that I also would like this feature. I am getting "Permission denied" when trying to create my own nodesDB file because it is being created in my cluster's software folders.

@ceanothus
Copy link

Hey @ArthurPERE , take a look at issue 95 . If you do blobtools create with

--names path/to/names.dmp --nodes path/to/nodes.dmp --db same/path/as/names&nodes/nodesDB.txt

it will create nodesDB.txt in the folder with your names.dmp and nodes.dmp folder instead of wherever it's trying to write where it doesn't have permissions.

@ArthurPERE
Copy link
Author

Hey @ceanothus

I saw that, but it will be better if they add this feature, and it will remove some error.
Because in the code if there is already the nodesDB.txt, and you give --names, --nodes and --db nodesDB.txt, you will have an error. For a pipeline, it's not impossible, but it's harder.
And the fact that when you do the same command twice and the first is good the second is in error is frustrating.

Also it's not a very difficult feature to add.

Thanks,
Regards

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

2 participants