Skip to content

Commit

Permalink
sqlites_path -> csvs_path
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Dec 25, 2024
1 parent e0b428d commit 301b89f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dataload/08_run_queries/run_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def main():
neo_data_path = os.path.abspath(os.path.join(neo_path, "data"))
neo_logs_path = os.path.abspath(os.path.join(neo_path, "logs"))

sqlites_path = args.out_sqlites_path
csvs_path = args.out_csvs_path

os.makedirs(sqlites_path)
os.makedirs(csvs_path)

if has_singularity:
cmd = ' '.join([
Expand All @@ -36,7 +36,7 @@ def main():
'--bind ' + shlex.quote(neo_logs_path) + ':/logs',
'--bind ' + os.path.abspath(os.path.join(os.environ['GREBI_DATALOAD_HOME'], '08_run_queries/run_queries.dockerpy')) + ':/run_queries.py',
'--bind ' + os.path.abspath(os.environ['GREBI_QUERY_YAMLS_PATH']) + ':/materialised_queries',
'--bind ' + os.path.abspath(args.out_sqlites_path) + ':/out',
'--bind ' + os.path.abspath(args.out_csvs_path) + ':/out',
'--writable-tmpfs',
'--network=none',
'--env NEO4J_AUTH=none',
Expand All @@ -51,7 +51,7 @@ def main():
'-v ' + shlex.quote(neo_logs_path) + ':/logs',
'-v ' + os.path.abspath(os.path.join(os.environ['GREBI_DATALOAD_HOME'], '08_run_queries/run_queries.dockerpy')) + ':/run_queries.py',
'-v ' + os.path.abspath(os.environ['GREBI_QUERY_YAMLS_PATH']) + ':/materialised_queries',
'-v ' + os.path.abspath(args.out_sqlites_path) + ':/out',
'-v ' + os.path.abspath(args.out_csvs_path) + ':/out',
'-e NEO4J_AUTH=none',
'ghcr.io/ebispot/grebi_neo4j_with_extras:5.18.0',
'python3 /run_queries.py'
Expand Down

0 comments on commit 301b89f

Please sign in to comment.