BioGeek commited on
Commit
3837900
·
1 Parent(s): 49be281

fix: handle upper, lower and mixed case file extensions

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -713,7 +713,7 @@ with gr.Blocks(
713
  Upload your mass spectrometry data file (.mgf, .mzml, or .mzxml) and get peptide sequence predictions.
714
  Choose your prediction method and decoding options.
715
 
716
- This Hugging Face Space is powered by a [ZeroGPU ](https://huggingface.co/docs/hub/en/spaces-zerogpu), which is free but **limited to 5 minutes per day per user**—so if you test with your own files, please use only small files.
717
  """,
718
  elem_classes="feedback"
719
  )
@@ -721,7 +721,7 @@ with gr.Blocks(
721
  with gr.Column(scale=1):
722
  input_file = gr.File(
723
  label="Upload Mass Spectrometry File (.mgf, .mzml, .mzxml)",
724
- file_types=[".mgf", ".mzml", ".mzxml"],
725
  scale=1
726
  )
727
  mode_selection = gr.Radio(
@@ -818,14 +818,10 @@ with gr.Blocks(
818
  value="""
819
  ```
820
  @article{Eloff2025,
821
- title = {InstaNovo enables diffusion-powered de novo peptide sequencing in large-scale
822
- proteomics experiments},
823
- author = {Eloff, Kevin and Kalogeropoulos, Konstantinos and Mabona, Amandla and Morell,
824
- Oliver and Catzel, Rachel and Rivera-de-Torre, Esperanza and Berg Jespersen,
825
- Jakob and Williams, Wesley and van Beljouw, Sam P. B. and Skwark, Marcin J.
826
- and Laustsen, Andreas Hougaard and Brouns, Stan J. J. and Ljungars,
827
- Anne and Schoof, Erwin M. and Van Goey, Jeroen and auf dem Keller, Ulrich and
828
- Beguir, Karim and Lopez Carranza, Nicolas and Jenkins, Timothy P.},
829
  year = 2025,
830
  month = {Mar},
831
  day = 31,
 
713
  Upload your mass spectrometry data file (.mgf, .mzml, or .mzxml) and get peptide sequence predictions.
714
  Choose your prediction method and decoding options.
715
 
716
+ This Hugging Face Space is powered by a [ZeroGPU](https://huggingface.co/docs/hub/en/spaces-zerogpu), which is free but **limited to 5 minutes per day per user**—so if you test with your own files, please use only small files.
717
  """,
718
  elem_classes="feedback"
719
  )
 
721
  with gr.Column(scale=1):
722
  input_file = gr.File(
723
  label="Upload Mass Spectrometry File (.mgf, .mzml, .mzxml)",
724
+ file_types=[".mgf", ".mzml", ".mzxml", ".MGF", ".mzML", ".mzXML", ".MZML", ".MZXML"],
725
  scale=1
726
  )
727
  mode_selection = gr.Radio(
 
818
  value="""
819
  ```
820
  @article{Eloff2025,
821
+ title = {InstaNovo enables diffusion-powered de novo peptide sequencing in large-scale proteomics experiments},
822
+ author = {Eloff, Kevin and Kalogeropoulos, Konstantinos and Mabona, Amandla and Morell, Oliver and Catzel, Rachel and Rivera-de-Torre, Esperanza and Berg Jespersen,
823
+ Jakob and Williams, Wesley and van Beljouw, Sam P. B. and Skwark, Marcin J. and Laustsen, Andreas Hougaard and Brouns, Stan J. J. and Ljungars,
824
+ Anne and Schoof, Erwin M. and Van Goey, Jeroen and auf dem Keller, Ulrich and Beguir, Karim and Lopez Carranza, Nicolas and Jenkins, Timothy P.},
 
 
 
 
825
  year = 2025,
826
  month = {Mar},
827
  day = 31,