Skip to content

Troubleshooting

If something isn't working, check here first. If your problem isn't listed, open an issue with the steps to reproduce.

Install / launch

ProblemCauseFix
command not found: leafInstall location not on PATHuv tool update-shell (uv) or add ~/.local/bin to PATH (pip)
Port 18008 already in useAnother process is on the portleaf serve --port 18009
pythonnet errors on WindowsMissing .NET 8.0Install .NET 8.0 SDK
Browser shows "Cannot connect"LEAF crashed or terminal closedRe-run leaf serve; check the terminal for errors
LEAF starts but no logo / stylesBrowser cached an old buildHard-refresh with ⌘⇧R (Mac) or Ctrl+Shift+R (Win/Linux)

RAW files

ProblemCauseFix
RAW file fails to loadUnsupported instrument firmwareTry opening the file in Thermo Xcalibur first; if it works there, report it
"No samples found in folder"Folder has no .raw files, or files have a different extensionCheck filenames; LEAF only reads .raw (case-sensitive on Linux)
Sample names look weirdAuto-name extraction got confusedToggle "Organize names" off — uses raw filename instead
Blank files included anyway"Skip blanks" only matches the word "blank"Rename your blank files to include "blank", or untoggle "Skip blanks" and remove them after

Compound list

ProblemCauseFix
"Missing column: Metabolite"CSV header doesn't matchUse one of: Metabolite, Compound, Name
Compounds show as "invalid formula"Formula has a typo or unsupported elementCheck the formula syntax (e.g., C6H12O6, not C₆H₁₂O₆); only standard atoms allowed
All compounds say "no peaks detected"Wrong polaritySwitch polarity (NEG ↔ POS) and re-run
Some compounds detect, others don'tMass tolerance too tight or RT offLoosen mass tolerance to 10 ppm; widen RT window to 1.0 min

Extraction

ProblemCauseFix
Extraction takes foreverLarge dataset, Python backend selectedSwitch to Rust backend in Settings → Advanced (much faster)
Out-of-memory crashToo many samples in one batchProcess in smaller batches (50 files at a time)
Floating button stuck blueJob hung — usually a corrupt RAW fileCancel the job, remove the suspect file, re-run
Job fails silentlyDisk full or write permissions issueCheck disk space and the configured Storage path

Peaks and quality

ProblemCauseFix
Many "Poor" verdictsMass tolerance too loose, picks up noiseReduce mass tolerance to 5 ppm
Peaks at wrong RTRT drift between samplesIncrease RT Window to 1.0 min; or use RT alignment
EIC chart is emptySelected sample has no signal for the compoundCheck the compound's mass and adduct; try the m/z manually in Xcalibur
Auto-peaks miss the obvious peakPeak picker conservativeSwitch peak method from v4 → v2; or manually drag-select on the EIC chart
RT check shows huge outliersSample truly has different RT (different LC method?)Verify the sample is from the same method as others

Visualizations

ProblemCauseFix
Volcano plot shows errorMore or fewer than 2 sample groupsGroup samples into exactly 2 groups in the sidebar
Heatmap is all one colorForgot to normalizeSet Normalization to Z-score in the sidebar
PCA shows samples bunchedFew principal components explain little varianceIncrease the number of PCs displayed; check sample QC first
Network is emptyEdge threshold too strictLower the edge threshold slider

Export

ProblemCauseFix
.msd file won't reopenSaved with a much newer LEAF versionUpdate LEAF — see GitHub Releases
CSV missing isotopologues"Include isotopologues" was offRe-export with the option enabled
CSV has scientific notationExcel auto-converts large numbersOpen in a text editor or import as text in Excel

Hosted (MINT) mode

ProblemCauseFix
"LEAF not visible" after MINT loginNo access to the LEAF pluginAsk your admin to grant the leaf plugin role
Files I expect aren't listedAdmin hasn't shared the folderAsk admin to add the folder to LEAF's allowed paths
Login loops back to login pageCookies blockedAllow cookies for the lab domain; reload
"Server error" on extractionLab server out of disk / memoryTell the admin; cluster issue, not yours

Still stuck?

  1. Check the terminal (desktop) or browser dev console (F12 → Console) for error messages.
  2. Search GitHub issues — someone may have hit it before.
  3. Open a new issue with: LEAF version (leaf --version), OS, the steps you took, and the error message.

LEAF is open source. Made by the Morscher Lab.