style: apply rustfmt across all crates and demos
Consistent formatting pass: line wrapping, import sorting, trailing whitespace removal, let-chain indentation, merged derive attributes, and unsafe block reformatting. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
@@ -29,8 +29,9 @@ pub mod protein_encoder;
|
||||
pub mod sample_data;
|
||||
|
||||
use drugbinder_shared::{
|
||||
BindingPrediction, BindingPredictionRequest, GenerationRequest, GenerationResult, Molecule, MoleculeInput, PredictionConfig, ProteinTarget, ScreeningHit,
|
||||
ScreeningRequest, ScreeningResult, TargetInput,
|
||||
BindingPrediction, BindingPredictionRequest, GenerationRequest, GenerationResult, Molecule,
|
||||
MoleculeInput, PredictionConfig, ProteinTarget, ScreeningHit, ScreeningRequest,
|
||||
ScreeningResult, TargetInput,
|
||||
};
|
||||
use thiserror::Error;
|
||||
|
||||
@@ -137,9 +138,10 @@ pub async fn screen_molecules(
|
||||
|
||||
// Apply affinity threshold
|
||||
if let Some(min_aff) = request.config.min_affinity
|
||||
&& prediction.affinity.pkd < min_aff {
|
||||
continue;
|
||||
}
|
||||
&& prediction.affinity.pkd < min_aff
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
hits.push(ScreeningHit {
|
||||
rank: 0,
|
||||
|
||||
Reference in New Issue
Block a user