HF RL Explorer

fix crash in SmilesGenerator when calling with reaction not having one or more reaction components

fix crash in SmilesGenerator when calling with reaction not having one or more reaction components: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Title: fix crash in SmilesGenerator when calling with reaction not having one or more reaction components

The task

**Title:** fix crash in SmilesGenerator when calling with reaction not having one or more reaction components

Part of scalingX/lifesci-drug-discovery-swe-envs-nocap.