Skip to content

Commit

Permalink
Removed unnecessary console log and comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
That-Thing committed Oct 24, 2023
1 parent 0710680 commit aa6ea06
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dev/lis-trait-association-search-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ <h1>&lt;lis-association-search-element&gt;</h1>
// Flatten results
const results =
data.traits.results.map(({name, ...study}) => {
//const studyType = study.qtlStudy || study.gwas; // Only one study
// Needs to return identifier, type, synopsis, description, name, genotypes
const type = study.qtlStudy ? 'QTL' : 'GWAS';
console.log(type);
const studyTypeObject = study.qtlStudy || study.gwas;
if (!studyTypeObject) { // Should never happen
return {};
Expand Down

0 comments on commit aa6ea06

Please sign in to comment.