Skip to content

Commit

Permalink
f reaction fam import
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Dec 7, 2024
1 parent e6487a9 commit 828dadd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion arc/reaction/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
import arc.reaction.family
from arc.reaction.reaction import ARCReaction
2 changes: 1 addition & 1 deletion arc/reaction/reaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from arc.common import get_logger
from arc.exceptions import ReactionError, InputError
from arc.reaction.family import ReactionFamily, get_reaction_family_products
from arc.family.family import ReactionFamily, get_reaction_family_products

Check failure

Code scanning / CodeQL

Module-level cyclic import Error

'ReactionFamily' may not be defined if module
arc.family.family
is imported before module
arc.reaction.reaction
, as the
definition
of ReactionFamily occurs after the cyclic
import
of arc.reaction.reaction.

Check failure

Code scanning / CodeQL

Module-level cyclic import Error

'get_reaction_family_products' may not be defined if module
arc.family.family
is imported before module
arc.reaction.reaction
, as the
definition
of get_reaction_family_products occurs after the cyclic
import
of arc.reaction.reaction.
from arc.species.converter import (check_xyz_dict,
sort_xyz_using_indices,
translate_to_center_of_mass,
Expand Down

0 comments on commit 828dadd

Please sign in to comment.