Skip to content

Commit 1a52772

Browse files
committed
addressing @adamrp comment
1 parent 478b613 commit 1a52772

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qiita_db/meta_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ def get_accessible_filepath_ids(user_id):
8989
prep_fp_ids = []
9090
for rdid in study.raw_data():
9191
for pt_id in RawData(rdid).prep_templates:
92-
for ids, _ in PrepTemplate(pt_id).get_filepaths():
93-
prep_fp_ids.append(ids)
92+
for _id, _ in PrepTemplate(pt_id).get_filepaths():
93+
prep_fp_ids.append(_id)
9494

9595
filepath_ids.update(prep_fp_ids)
96-
sample_fp_ids = [ids for ids, _
96+
sample_fp_ids = [_id for _id, _
9797
in SampleTemplate(study_id).get_filepaths()]
9898
filepath_ids.update(sample_fp_ids)
9999

0 commit comments

Comments
 (0)