File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ def predict_library(
160160 """
161161 if fasta_file and config :
162162 # Use provided proteome, but overwrite fasta_file
163+ config ["fasta_file" ] = fasta_file
163164 config = ProteomeSearchSpace .from_any (config )
164- config .fasta_file = fasta_file
165165 elif fasta_file and not config :
166166 # Default proteome search space with provided fasta_file
167167 config = ProteomeSearchSpace (fasta_file = fasta_file )
@@ -177,7 +177,7 @@ def predict_library(
177177 for batch in track (
178178 _into_batches (search_space , batch_size = batch_size ),
179179 description = "Predicting spectra..." ,
180- total = ceil (len (search_space ) / batch_size ),
180+ total = ceil (len (search_space ) / batch_size ),
181181 ):
182182 logging .disable (logging .CRITICAL )
183183 yield predict_batch (
You can’t perform that action at this time.
0 commit comments