From bf98c8cdaf774980019af2ce0d94129a50f19a46 Mon Sep 17 00:00:00 2001 From: avcopan Date: Thu, 13 Jun 2024 08:47:32 -0500 Subject: [PATCH] Fix: Don't include nan values when accessing potential --- automol/data/potent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automol/data/potent.py b/automol/data/potent.py index a4526741..b06645c3 100644 --- a/automol/data/potent.py +++ b/automol/data/potent.py @@ -147,7 +147,7 @@ def dict_( key: str = "energy", index: bool = False, zero_start_coord: bool = False, - drop_null: bool = False, + drop_null: bool = True, ) -> Dict[tuple, float]: """Convert a potential to a dictionary