Skip to content

Commit

Permalink
cast captured stdout to str
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsongreen committed Nov 13, 2024
1 parent f4349c5 commit 5cc5947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/HASP/DataDiagnostic/DataDiagnostics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
"consolidate_files(datadir_ex1)\n",
"\n",
"with open('output.txt', 'w') as file:\n",
" file.write(output.stdout)"
" file.write(f'{str(output.stdout)}')"
]
},
{
Expand Down Expand Up @@ -1646,7 +1646,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.11"
"version": "3.12.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 5cc5947

Please sign in to comment.