aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-11-04 15:42:32 +0530
committerArun Isaac2022-11-04 15:42:32 +0530
commit082072f374572b192831aac3c0a2d6e3e46fac79 (patch)
treea1875ac60e85f7999ec816e59f2f3841050e157d
parent445e0355d2735ac8ace37c2f84f852c66915c47c (diff)
downloadgn-machines-082072f374572b192831aac3c0a2d6e3e46fac79.tar.gz
Import GeneRIF by calling the unified dump script.
* genenetwork-development.scm (dump-genenetwork-database): Import GeneRIF by calling the unified dump script.
-rw-r--r--genenetwork-development.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index ce9a114..c30f634 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -584,11 +584,6 @@ described by CONFIG, a <genenetwork-configuration> object."
(invoke "./pre-inst-env" "./dump.scm"
connection-settings-file
dump-directory)
- ;; Import GeneRIF into RDF.
- (invoke "./pre-inst-env" "./import-generif.scm"
- (string-append #$%dump-genenetwork-database-export-directory
- "/generifs_basic.gz")
- dump-directory)
;; Validate dumped RDF, sending the error output to
;; oblivion because we don't want to print out potentially
;; sensitive data.
@@ -599,11 +594,9 @@ described by CONFIG, a <genenetwork-configuration> object."
"--count"
(string-append dump-directory "/dump.ttl")))
;; Load RDF into virtuoso.
- (for-each (lambda (ttl)
- (invoke "./pre-inst-env" "./load-rdf.scm"
- connection-settings-file
- (string-append dump-directory "/" ttl)))
- (list "dump.ttl" "generif.ttl"))
+ (invoke "./pre-inst-env" "./load-rdf.scm"
+ connection-settings-file
+ (string-append dump-directory "/dump.ttl"))
;; Visualize schema and archive results.
(invoke "./pre-inst-env" "./visualize-schema.scm"
connection-settings-file)