Skip to content

Commit

Permalink
fix: if systre call fails, featurization should still work
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Maik Jablonka committed Sep 25, 2023
1 parent 29ee1e0 commit 9626b00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mofdscribe/featurizers/text/mofdscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def _get_bb_description(self, structure: Structure, structure_graph: StructureGr
rcsr_code = fragments.net_embedding.rcsr_code
if rcsr_code and len(rcsr_code) > 1:
rcsr_string = "RCSR code: {}. ".format(rcsr_code)
else:
rcsr_string = ""

output_string = ""
if self.incorporate_smiles:
Expand Down

0 comments on commit 9626b00

Please sign in to comment.