Reduced code complexity and fixed a bug
Reduced code complexity and fixed a bug: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Title: Reduced code complexity and fixed a bug
The task
**Title:** Reduced code complexity and fixed a bug