galaxyproject / galaxyproject/galaxy

inchi datatype preview is wrong as it displays as tabular but inchi contains , so it shows multiple columns even if the format is correct

Open
#22,686 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
1.2k
Avg merge
2d 16h
Merged PRs (30d)
169

Description

**Describe the bug**
The inchi is a single column tabular or text format that contains only inchi values to describe molecules. The preview treats it apparently as a csv, so if there is a ',' character, which is normal in inchi's, it treats it as a new column.

**Expected behavior**
inchi files should always just be displayed as a single column.

**Screenshots**

Image

Image

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the preview with an InChI value containing a comma, then trace the preview handling for InChI and tabular formats. Done means an InChI file is consistently rendered as one column rather than being split into multiple columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.