Skip to content
New issue

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

have nb_path be path to nbs folder when the name of the notebook cannot be determined #29

Closed
JaumeAmoresDS opened this issue Apr 1, 2024 · 0 comments

Comments

@JaumeAmoresDS
Copy link
Owner

try:
	self.nbs_folder = self.get_nbs_path ()
	self.lib_folder = self.get_lib_path ()
except:
	found_notebook = False
	#raise RuntimeError (f"nbs not found in path to notebook, {nb_path}")
	
if 'nbs' not in nb_path and 'nbs' in os.listdir(nb_path):
	nb_path = nb_path / 'nbs'
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

No branches or pull requests

1 participant