Skip to content
Permalink
Browse files
fix: linting of remote snakefiles (#1131)
  • Loading branch information
johanneskoester committed Aug 13, 2021
1 parent ed8e0c5 commit 2104e10d1d2c5e0f368e9c0fe95cc50f9d4847f1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -15,7 +15,7 @@ def item_desc_json(self, snakefile):
return {"snakefile": snakefile}

def read_item(self, snakefile):
return open(snakefile).read()
return self.workflow.sourcecache.open(snakefile).read()

def lint_absolute_paths(self, snakefile, regex=re.compile(ABS_PATH_PATTERN)):
for match in regex.finditer(snakefile):

0 comments on commit 2104e10

Please sign in to comment.