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

Custom output folder as part of extra_args in start_protocol #54

Open
alexandervogel opened this issue Jun 2, 2023 · 1 comment
Open

Comments

@alexandervogel
Copy link

Is there a possibility to set a custom output folder as part of the extra_args (args=args.extra_args) as part of the start_protocol example?

I'm aware of the get_ and set_output_directories function as part of the instance and the base variable in the user_conf but it would be much simpler to pass the output_folder along during the protocol start.

Thanks!

@0x55555555
Copy link
Contributor

Hi @alexandervogel,

You can set offload_location_path in OffloadLocationInfo, as part of the StartProtocolRequest message sent to start_protocol:

https://github.com/nanoporetech/minknow_api/blob/master/proto/minknow_api/protocol.proto#LL343C25-L343C25

You would need to modify the start_protocol call built into the tools, as it doesn't currently let you set the offload_location_info field.

As you say, the other way to achieve this is using the other API calls.

Hope this helps - I'll look at exposing this variable as part of the built in tools too.

  • George

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