File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
alphadia/workflow/peptidecentric/ng Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ def dia_data_to_ng(dia_data: DiaData) -> "DiaDataNG": # noqa: F821
3232 ]
3333
3434 return DiaDataNG .from_arrays (
35- delta_scan_idx ,
35+ delta_scan_idx . astype ( np . int64 ) ,
3636 spectrum_df ["isolation_lower_mz" ].values .astype (np .float32 ),
3737 spectrum_df ["isolation_upper_mz" ].values .astype (np .float32 ),
38- spectrum_df ["peak_start_idx" ].values ,
39- spectrum_df ["peak_stop_idx" ].values ,
40- cycle_idx ,
38+ spectrum_df ["peak_start_idx" ].values . astype ( np . int64 ) ,
39+ spectrum_df ["peak_stop_idx" ].values . astype ( np . int64 ) ,
40+ cycle_idx . astype ( np . int64 ) ,
4141 spectrum_df ["rt" ].values .astype (np .float32 ) * 60 ,
4242 peak_df ["mz" ].values .astype (np .float32 ),
4343 peak_df ["intensity" ].values .astype (np .float32 ),
You can’t perform that action at this time.
0 commit comments