kitab-project-org / kitab-project-org.github.io

Website of the Project
0 stars 3 forks source link

Application Bug: Pairwise Book Visualisation (uploading a TSV) #61

Open pverkind opened 3 weeks ago

pverkind commented 3 weeks ago

Relevant application (delete as appropriate) Book-to-book view (with chart)

Describe the bug When uploading a pairwise TSV file with an altered file name, the app displays "No data found to visualize." No helpful error message is displayed in the console.

To Reproduce Steps to reproduce the behavior:

  1. Download a pairwise TSV file
  2. Change the name in a way that disturbs the pattern -..._-....csv)
  3. Upload the tsv file

Expected behavior The app tries to look up the metadata of both texts, based on the for two reasons:

  1. to display the author and title above the graph
  2. to know where to draw the black bars that show the end of the book (based on the token count recorded in the metadata)

If no version ID is found for one or both books:

Screenshots

image

How did you access the application: