Reporting a problem without sharing your data
You cannot fully take back a public post, such as an issue or a forum question. Ingence’s output comes from your folders, so a report can hold your laboratory’s names. This page shows how to report a fault or a misread file without them.
If you cannot show a problem without your data, do not post it. Describe it in words, with the
shapes of the names (ingence teach shapes), or report it privately with the repository’s
report form.
What Ingence’s output contains
The Dashboard shows file and folder names, paths, people’s names found in folders, dates, and short extracts from inside files. A screenshot of it shows all of these.
Messages in the terminal can hold a path.
ingence fix -p PROJECTprints the project’s path and the scans’ identifiers as they are, then counts. It prints a data folder’s path only when it can’t reach that folder. Under “left out, on purpose” it lists what the scan skipped, and that can name folders.ingence export themeswrites folder and person names in plain text.The project folder holds the file list, with every path and name Ingence read. It also holds the answer log, with your answers and your name. Do not post it, or a zipped copy.
Counts show how large a laboratory or a folder is.
ingence teach shapes is the exception. It prints the shapes of your names, without the names.
Replace names with their shape
To make the shape of a name, replace each part that is yours with the kind of part it is. Words that
every laboratory uses, such as HeLa, DAPI and DMSO, can stay. Replace people’s names, project
codes and anything that names unpublished work.
Real name |
Shape |
|---|---|
|
|
|
|
|
|
Use the same stand-in for the same part every time, so a reader can see which names match.
ingence teach shapes does this for every name in a project. List the folder’s files first, then
ask for the shapes:
ingence index -p PROJECT
ingence teach shapes -p PROJECT
For the practice folder below, Ingence v0.4.0 prints this table. items is how many names have the
shape, and slots is how many parts the shape has:
Name shapes in this project
items slots skeleton
6 4 {WORD}_{subject}_{NUMBER}.{format}
3 1 {stage}
2 1 {WORD}
1 3 {DATE}_{WORD}_{subject}
1 4 {DATE}_{WORD}_{subject}_{version}
1 3 {WORD}_{stage}.{format}
A word that Ingence knows appears as its kind, such as {subject} for HeLa and {stage} for
raw. A word it does not know appears as {WORD}, numbers as {NUMBER} and dates as {DATE}.
Ingence doesn’t print any name. The line under the table counts the parts of names Ingence read. Read the output
before you post it. If the size of your laboratory matters, change the counts to “a few” or “many”.
Teaching Ingence your words gives the command’s options.
What to include
The version. Run
ingence --versionand paste the first line it prints.Your system. The operating system and its version, and the processor, such as Intel or Apple silicon. Also the Python version, and how you installed Ingence.
The command you ran, with every path replaced:
ingence index -p PROJECT, not the path you typed.What you expected and what happened instead.
The message, if there was one. Replace every path, folder name and person’s name in it with a stand-in, such as
<root>,<project>or<file>.The shape of your names, from
ingence teach shapes, and the shape of your folders in words (below).For a result you think is wrong, the rule’s name and version. Open the file in the Dashboard: each result about it shows the rule that made it. Also say what is true and how you know. The signs a person would use help most: a word in a name, a place in a folder, a date.
Describe the folders in words, with stand-ins:
<root>/
<person>/ one folder per person
2023-03-14_<project>_HeLa/ an experiment: a date, a project code and a cell line
raw/ three images, <project>_HeLa_01.tif to <project>_HeLa_03.tif
analysis/ a summary table and a script
2023-03-14_<project>_HeLa_old/ the raw folder copied by hand into a folder with _old added
Make a small folder that shows it
The best report comes with a made-up folder that shows the same problem. Make one from empty files with invented names:
mkdir -p practice/Bea/2023-03-14_Atlas_HeLa/raw practice/Bea/2023-03-14_Atlas_HeLa/analysis
touch practice/Bea/2023-03-14_Atlas_HeLa/raw/Atlas_HeLa_0{1,2,3}.tif
touch practice/Bea/2023-03-14_Atlas_HeLa/analysis/Atlas_summary.csv
mkdir practice/Bea/2023-03-14_Atlas_HeLa_old
cp -R practice/Bea/2023-03-14_Atlas_HeLa/raw practice/Bea/2023-03-14_Atlas_HeLa_old/
On Windows, make the same folders and empty files in File Explorer, or with New-Item in
PowerShell. Then scan it with a project of its own, apart from your real ones:
ingence init report-project --root practice
ingence index -p report-project
ingence infer -p report-project
If the made-up folder shows the problem, paste the commands you ran and the list of its files and folders. Anyone can then run exactly what you ran.
An empty file is enough for anything that depends on names, folders and dates. A problem about sizes or copies needs files that hold a few different characters each. A problem with what is inside a file needs a made-up file with the same structure and invented values.
What not to post
Paths, folder names, people’s names and names of unpublished work. Leave them out of text, screenshots, logs and file names.
A screenshot of the Dashboard or the terminal, unless you have covered every name in it.
The project folder, or a zipped copy of it (Privacy and your data).
The output of
ingence fix -p PROJECTas it stands. Replace the project path, the run identifiers, any data folder’s path and every folder named under “left out, on purpose”. Describe the counts in words. Or run it with--shareable, as above.The files
ingence export themeswrites.
Where to report it
Use the forms on the issues page of the project’s repository on GitHub. Each form points back to this page. A GitHub account is free, and you need one to post.
Bug: something is broken, stops, or does something that looks wrong.
A rule misread my files: a result is wrong, or a result is missing.
A word Ingence does not know: a general word in names that Ingence does not recognize. A word only your laboratory uses belongs in your own project, or in a pack of your own.
Pack submission: you want to offer a file of words.
Documentation: a page is wrong, unclear or missing.
Questions such as “how do I…?” belong in Discussions. Report a security problem privately, never in an issue: use the repository’s report form (security policy). Private reports may contain laboratory data.
If you pasted something by mistake
Edit the post to take it out. The post’s edit history still keeps the earlier version. So add a short comment, without the text, that asks a maintainer to delete the edit history. Do the same for an issue or a pull request.