From b8c4648f881c8c45c645cddda7589be3139abacc Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Thu, 19 Dec 2024 12:16:21 +0100 Subject: [PATCH] Use session-info2 --- .github/ISSUE_TEMPLATE/bug-report.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index b838635be..f7add5418 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -53,10 +53,18 @@ body: description: | Which version of anndata and other related software you used. - Please install `session-info`, run the following command, then paste the results into the text box below. + Please install `session-info2`, run the following command in a notebook, + click the “Copy as Markdown” button, + then paste the results into the text box below. ```python - >>> import anndata, session_info; session_info.show(html=False, dependencies=True) + In[1]: import anndata, session_info2; session_info2.session_info(dependencies=True) + ``` + + Alternatively, run this in a console: + + ```python + import session_info2; print(session_info2.session_info(dependencies=True)._repr_mimebundle_()["text/markdown"]) ``` render: python validations: