We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make things like this work by capturing stdout from the command, or returning None or '' (empty string) if there is no output.
None
''
(As is, the workflow below fails on second with "NoneType has no attribute split".)
NoneType
split
import covalent as ct @ct.leptons.bash(display_name="Run a bash script") def list_cwd(): return "ls -lth" @ct.electron def break_into_lines(output: str): return output.split("\n") @ct.lattice def workflow(): return break_into_lines(list_cwd()) runid = ct.dispatch(workflow)() print(ct.get_result(runid, wait=True).result)
No response
The text was updated successfully, but these errors were encountered:
Aravind-psiog
No branches or pull requests
What should we add?
Make things like this work by capturing stdout from the command, or returning
None
or''
(empty string) if there is no output.(As is, the workflow below fails on second with "
NoneType
has no attributesplit
".)Describe alternatives you've considered.
No response
The text was updated successfully, but these errors were encountered: