File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,9 @@ def main():
452
452
if args .metalist is not None :
453
453
pl_aligned = update_metadata_and_labels (
454
454
[pl_aligned ], metadata )
455
- peaklists .append (pl_aligned [0 ])
455
+ peaklists .append (pl_aligned [0 ])
456
+ else :
457
+ peaklists .append (pl_aligned )
456
458
457
459
with open (args .failed_wells , "w" ) as out :
458
460
for well in failed_wells :
Original file line number Diff line number Diff line change 4
4
amimspy process-scans --input ../tests/data/testData1.mzML ../tests/data/testData2.mzML \
5
5
--metascans ../tests/data/testData1.txt ../tests/data/testData2.txt --output ../tests/results/peaklists \
6
6
--failed-wells ../tests/results/failed_wells.txt --processed_scans ../tests/results/processed_scans.txt \
7
- --snr-threshold 3 --min-scans 2 --min-fraction 0.5 --ppm 20 --metalist ../tests/data/SampleMetadata.txt
7
+ --snr-threshold 3 --min-scans 2 --min-fraction 0.5 --ppm 20
8
+ # --metalist ../tests/data/SampleMetadata.txt
9
+
8
10
9
11
# hdf5 peaklist to txt
10
12
amimspy hdf5-pls-to-txt --input ../tests/results/peaklists.hdf5 --output ../tests/results
11
13
14
+
12
15
# Prcoess samples
13
16
amimspy process-samples --input ../tests/results/peaklists.hdf5 --output ../tests/results/peakmatrix.hdf5 \
14
17
--ppm 20 --min-fraction 0.5
15
18
19
+
16
20
# hdf5 peak matrix to txt
17
21
amimspy hdf5-pm-to-txt --input ../tests/results/peakmatrix.hdf5 --output ../tests/results/peakmatrix.txt \
18
22
--attribute_name intensity --representation-samples columns --comprehensive
You can’t perform that action at this time.
0 commit comments