Skip to content

Commit

Permalink
fix key error with populate_sample_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Nov 20, 2023
1 parent 9114beb commit 557fbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion looper/processed_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def populate_sample_paths(sample, schema, check_exist=False):
raise TypeError("Can only populate paths in peppy.Sample objects")
# schema = schema[-1] # use only first schema, in case there are imports
if PROP_KEY in schema and "samples" in schema[PROP_KEY]:
_populate_paths(sample, schema[PROP_KEY]["samples"]["items"], check_exist)
_populate_paths(sample, schema, check_exist)


def populate_project_paths(project, schema, check_exist=False):
Expand Down

0 comments on commit 557fbd5

Please sign in to comment.