Skip to content

Commit

Permalink
MAINT: distinction between tuple and generic iterable in get_const..
Browse files Browse the repository at this point in the history
  • Loading branch information
mcocdawc committed Jul 31, 2018
1 parent dfe04b6 commit 95561ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -279,7 +279,7 @@ def prepend_missing_parts_of_molecule(fragment_list):

fragments = prepend_missing_parts_of_molecule(fragments)

if pd.api.types.is_list_like(fragments[0]):
if isinstance(fragments[0], tuple):
fragment, references = fragments[0]
full_table = fragment._get_frag_constr_table(
use_lookup=use_lookup, predefined_table=references)
Expand Down

0 comments on commit 95561ce

Please sign in to comment.