The photoreactions of trimethoprim in solution