File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1464,7 +1464,7 @@ def generate_study_list(user, visibility):
14641464 (SELECT COUNT(sample_id) FROM qiita.study_sample
14651465 WHERE study_id=qiita.study.study_id)
14661466 AS number_samples_collected,
1467- (SELECT EXIST (
1467+ (SELECT EXISTS (
14681468 SELECT 1 FROM qiita.study_sample
14691469 WHERE study_id = qiita.study.study_id LIMIT 1))
14701470 AS has_sample_info,
@@ -1563,7 +1563,9 @@ def generate_study_list(user, visibility):
15631563 del info ["shared_with_email" ]
15641564
15651565 # add extra info about sample information file
1566- has_sample_info = info ['has_sample_info' ]
1566+ if info ['has_sample_info' ]:
1567+ qdb .metadata_template .sample_template .SampleTemplate (
1568+ info ['study_id' ])
15671569 del info ['has_sample_info' ]
15681570
15691571 infolist .append (info )
You can’t perform that action at this time.
0 commit comments