INCATools / INCATools/semantic-sql

Left over intermediate artefacts

Open
#47 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
69
Forks
7
Avg merge
8m
Merged PRs (30d)
1

Description

## 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](https://github.com/INCATools/semantic-sql/files/9301655/doid.owl.zip)
4. Run `semsql make doid.db` from unzipped directory, or use the dockerized version.

Contributor guide

Open the contributing guide

Research direction

Start by running `semsql make doid.db` with the linked `doid.owl` input and record when `.template.db`, `.template.db.tmp`, and `doid-relation-graph.tsv.gz` are created. Trace the command path responsible for each artefact and establish which files are required after a successful build. Done means unintended intermediate files are removed or kept out of the user's working directories, with the behavior covered by the project's available tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
build-system, cli, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.