File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed
Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ RUN conda install -c conda-forge openjdk=11.0.9.1
3333COPY requirements.txt .
3434RUN pip install -r requirements.txt
3535
36+ # Install Aspera
37+ # RUN wget -qO- https://ak-delivery04-mul.dhe.ibm.com/sar/CMA/OSA/0a07f/0/ibm-aspera-connect_4.1.0.46-linux_x86_64.tar.gz | tar xvz
38+ # RUN chmod +x ibm-aspera-connect_4.1.0.46-linux_x86_64.sh
39+ # RUN ./ibm-aspera-connect_4.1.0.46-linux_x86_64.sh
40+
41+
3642COPY . /app
3743WORKDIR /app
3844
Original file line number Diff line number Diff line change 33 pytest --durations=0 test_2d.py test_usi_resolution.py test_xic.py -n 8
44
55resolve :
6+ pytest test_usi_resolution.py::test_resolve_remote_url -v --capture=tee-sys
67 pytest test_usi_resolution.py -v
8+
79
810benchmark :
911 pytest --durations=0 -n 4 speed_test.py -v --profile-svg
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ def test_resolve_remote_url():
1313 for record in df .to_dict (orient = "records" ):
1414 print (record ["usi" ])
1515 remote_link , resource_name = download ._resolve_usi_remotelink (record ["usi" ])
16+ print ("RESOLVED URL" , remote_link , resource_name )
1617 assert (len (remote_link ) > 0 )
1718
1819# Testing conversion
Original file line number Diff line number Diff line change @@ -31,4 +31,7 @@ mzspec:PXD002854:20150414_QEp1_LC7_GaPI_SA_Serum_DT_03_150416181741:scan:2308:[+
3131mzspec:ST001709:Sample_01___neg.mzXML
3232mzspec:MSV000084754:ccms_peak/raw/Toronamide_MS3_DDA_2.mzML
3333mzspec:MSV000086834:raw/20210210 GNPS LMCS/PA1MeOH1.aia.CDF
34- mzspec:MSV000084169:raw/FractA1/0205045.CDF
34+ mzspec:MSV000084169:raw/FractA1/0205045.CDF
35+ mzspec:PXD002854:20150414_QEp1_LC7_GaPI_SA_Serum_DT_03_150416181741.mzXML
36+ mzspec:PXD028694:QEp21-1189_Song_SYDE2_Rep_aniso+inhib_FT.raw
37+ mzspec:MTBLS338:0307_63.CDF
You can’t perform that action at this time.
0 commit comments