Commit
·
85d915b
1
Parent(s):
12f0086
Change example to .mzML
Browse files
app.py
CHANGED
|
@@ -261,8 +261,8 @@ def setup():
|
|
| 261 |
|
| 262 |
# Download example files
|
| 263 |
example_urls = [
|
| 264 |
-
('https://huggingface.co/datasets/
|
| 265 |
-
EXAMPLE_PATH / '
|
| 266 |
"PiperNET example spectra"),
|
| 267 |
('https://raw.githubusercontent.com/pluskal-lab/DreaMS/refs/heads/main/data/examples/example_5_spectra.mgf',
|
| 268 |
EXAMPLE_PATH / 'example_5_spectra.mgf',
|
|
@@ -605,7 +605,7 @@ def _create_gradio_interface():
|
|
| 605 |
|
| 606 |
# Example files
|
| 607 |
examples = gr.Examples(
|
| 608 |
-
examples=["./data/example_5_spectra.mgf", "./data/
|
| 609 |
inputs=[in_pth],
|
| 610 |
label="Examples (click on a file to load as input)",
|
| 611 |
)
|
|
|
|
| 261 |
|
| 262 |
# Download example files
|
| 263 |
example_urls = [
|
| 264 |
+
('https://huggingface.co/datasets/titodamiani/PiperNET/resolve/main/lcms/rawfiles/202312_147_P55-Leaf-r2_1uL.mzML',
|
| 265 |
+
EXAMPLE_PATH / '202312_147_P55-Leaf-r2_1uL.mzML',
|
| 266 |
"PiperNET example spectra"),
|
| 267 |
('https://raw.githubusercontent.com/pluskal-lab/DreaMS/refs/heads/main/data/examples/example_5_spectra.mgf',
|
| 268 |
EXAMPLE_PATH / 'example_5_spectra.mgf',
|
|
|
|
| 605 |
|
| 606 |
# Example files
|
| 607 |
examples = gr.Examples(
|
| 608 |
+
examples=["./data/example_5_spectra.mgf", "./data/202312_147_P55-Leaf-r2_1uL.mzML"],
|
| 609 |
inputs=[in_pth],
|
| 610 |
label="Examples (click on a file to load as input)",
|
| 611 |
)
|