You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a Kernel on an automatically converted .ipynb file with Hydrogen on Atom on Win10, the current working directory always is my user home directory. No matter what I set in the settings for this option.
Steps to Reproduce
Open an existing .ipynb file in Atom, it will be converted and opens in a new tab "untitled".
Write import os and os.getcwd()
Will output user home directory instead of the project's directory nor the current files directory.
OS version: Windows 10
Atom: 1.60.0 x64
Hydrogen: 2.16.3
Plugins
Have you installed and activated any of the Hydrogen plugins below ?
hydrogen-python
Hydrogen Launcher
Data Explorer
Expected behavior
output current projects directory or file directory
--- EDIT---
Works for .py files, but does not work for .ipynb files!
The text was updated successfully, but these errors were encountered:
mschroen
changed the title
Kernel always opens in user's home directory
Kernel for converted .ipynb files always opens in user's home directory
Mar 31, 2022
Description
When running a Kernel on an automatically converted .ipynb file with Hydrogen on Atom on Win10, the current working directory always is my user home directory. No matter what I set in the settings for this option.
Steps to Reproduce
import os
andos.getcwd()
OS version: Windows 10
Atom: 1.60.0 x64
Hydrogen: 2.16.3
Plugins
Have you installed and activated any of the Hydrogen plugins below ?
Expected behavior
output current projects directory or file directory
--- EDIT---
Works for .py files, but does not work for .ipynb files!
The text was updated successfully, but these errors were encountered: