Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left over intermediate artefacts #47

Open
joeflack4 opened this issue Aug 10, 2022 · 5 comments
Open

Left over intermediate artefacts #47

joeflack4 opened this issue Aug 10, 2022 · 5 comments

Comments

@joeflack4
Copy link

joeflack4 commented Aug 10, 2022

Overview

I ran: semsql make doid.db, and these files remained afterwards:

  1. .template.db: Appears the CWD (current working directory) from where I'm running the command. It might be that this is because one of the commands failed, but I'm not sure.
  2. .template.db.tmp (edit: 2023/04/27: Also seeing these files; not sure which SemSQL version this started appearing in though.)
  3. doid-relation-graph.tsv.gz: Appears in the directory where my .db file is created, and the.owl file used to create that file is located.

Replicating this issue

  1. Have semsql
  2. Download and unzip doid.owl.zip
  3. Run semsql make doid.db from unzipped directory, or use the dockerized version.
@joeflack4
Copy link
Author

@matentzn FYI

@joeflack4 joeflack4 changed the title Left over intermediate artefacts (0.1.7) Left over intermediate artefacts Aug 10, 2022
@joeflack4
Copy link
Author

i think i'm only still experiencing left over .template.db. But it may be because a script is not completing successfully. or perhaps it does it every time, I'm not sure.

@matentzn
Copy link
Contributor

@hrshdhgd what do you think regarding this issue?

@hrshdhgd
Copy link
Collaborator

hrshdhgd commented May 1, 2023

.template.db: Appears the CWD (current working directory) from where I'm running the command. It might be that this is because one of the commands failed, but I'm not sure.

.template.db is an intermediary file that gets generated each time semsql makes a .db file. It remains after successful db file generation

doid-relation-graph.tsv.gz: Appears in the directory where my .db file is created, and the.owl file used to create that file is located.

This again is relation-graph generating the tsv file which eventually gets converted to the sqlite db file

@joeflack4 , why can't you get the latest version of semsql installed?

@joeflack4
Copy link
Author

That was a while ago. I have it so that semsql works inside and outside of Docker on my machine now, but I usually use the dockerized version since it's been easier to keep up-to-date. I edited out the version related information from the top of the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants