8000 Remove support for AiiDA 0.x in start.ipynb by danielhollas · Pull Request #175 · aiidalab/aiidalab-home · GitHub
[go: up one dir, main page]

Skip to content

Remove support for AiiDA 0.x in start.ipynb - #175

Merged
danielhollas merged 2 commits into
mainfrom
cleanup-start-notebook
Oct 21, 2024
Merged

danielhollas merged 2 commits into
mainfrom
cleanup-start-notebook

Conversation

@danielhollas
Copy link
Copy Markdown
Contributor

Removed code that was meant to support AiiDA <1.0 😱

  • other minor cleanups

Comment thread start.ipynb
"\n",
"home = None\n",
"\n",
"if aiida.__version__ < \"1.0.0\":\n",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure we don't support AiiDA this old 😄

Comment thread start.ipynb
"try:\n",
" url = urlparse.urlsplit(jupyter_notebook_url)\n",
"except NameError:\n",
" parsed_url = \"\"\n",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just to make the notebook runnable outside of appmode

@danielhollas
Copy link
Copy Markdown
Contributor Author

@unkcpz it looks like you've done the same thing in the chore/xx/remove/aiida-0x-support branch but did not open a PR.

@danielhollas danielhollas changed the title Cleanup start.ipynb Remove support for AiiDA 0.x in start.ipynb Oct 14, 2024
@yakutovicha yakutovicha left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @danielhollas, very happy to approve this PR!

Comment thread terminal.ipynb
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMG!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, OMG indeed. Thanks for approving!

@danielhollas
danielhollas merged commit 59a5c08 into main Oct 21, 2024
@danielhollas
danielhollas deleted the cleanup-start-notebook branch October 21, 2024 14:14
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

Successfully merging this pull request may close these issues.

2 participants

0