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

fix: Issue #1253 (problems editing Jupyter Notebooks) #1255

Merged
merged 2 commits into from Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions snakemake/script.py
Expand Up @@ -393,10 +393,8 @@ def evaluate(self, edit=False):

@property
def local_path(self):
path = self.path[7:]
if not os.path.isabs(path):
return smart_join(self.basedir, path)
return path
assert self.is_local
return self.path.get_path_or_uri()

@abstractmethod
def get_preamble(self):
Expand Down