Skip to content

Commit c262428

Browse files
committed
rm pt.generate_files from sample update
1 parent 6f7a247 commit c262428

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

qiita_db/metadata_template/sample_template.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -268,17 +268,6 @@ def generate_files(self, samples=None, columns=None):
268268
fp_id = qdb.util.convert_to_id("sample_template", "filepath_type")
269269
self.add_filepath(fp, fp_id=fp_id)
270270

271-
# generating all new QIIME mapping files
272-
for pt in qdb.study.Study(self._id).prep_templates():
273-
if samples is not None and samples and (
274-
columns is None or not columns):
275-
overlapping = set(samples) & set(pt.keys())
276-
# if the prep has no overlapping sample ids, we can skip
277-
# generationg the prep
278-
if not overlapping:
279-
continue
280-
pt.generate_files(samples, columns)
281-
282271
@property
283272
def ebi_sample_accessions(self):
284273
"""The EBI sample accessions for the samples in the sample template

0 commit comments

Comments
 (0)