MehmedGIT / OtoN_Converter

Converter from basic OCRD process workflow to Nextflow workflow script
Apache License 2.0
4 stars 1 forks source link

CLI interface, packaging #2

Closed bertsky closed 1 year ago

bertsky commented 1 year ago

Could you please encapsulate this as a setuptools package?

Also, IMO it's not useful to provide this as a file-based tool. After all, this is just about strings. Both the API and CLI should allow working without files. (For the CLI then, that would be stdin and stdout I guess.)

MehmedGIT commented 1 year ago

Could you please encapsulate this as a setuptools package?

I am currently working on that. EDIT: Done.

Also, IMO it's not useful to provide this as a file-based tool. After all, this is just about strings. Both the API and CLI should allow working without files. (For the CLI then, that would be stdin and stdout I guess.)

The file-based solution works best for the Operandi project and I think it is more convenient for general users. STDIN and STDOUT are file descriptors. Why do you think a file-based solution is not good? In the end, you still need to pass Nextflow script files as input to the Nextflow engine.