Skip to content

Commit

Permalink
ZFIN-8903 add disease models into disease attribution download file (Z…
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpich authored Dec 6, 2023
1 parent 475c8fd commit 2bd1bfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server_apps/data_transfer/Downloads/DownloadFiles.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2431,8 +2431,7 @@ CREATE VIEW diseaseAttributions AS
END
FROM disease_annotation
INNER JOIN term ON dat_term_zdb_id = term.term_zdb_id
INNER JOIN publication ON dat_source_zdb_id = zdb_id
where not exists (select * from disease_annotation_model where damo_dat_zdb_id = dat_zdb_id);
INNER JOIN publication ON dat_source_zdb_id = zdb_id;
\copy (select * from diseaseAttributions) to '<!--|ROOT_PATH|-->/server_apps/data_transfer/Downloads/downloadsStaging/disease_attribution.txt' with delimiter as ' ' null as '';
drop view diseaseAttributions;

Expand Down

0 comments on commit 2bd1bfd

Please sign in to comment.