Skip to content

Commit

Permalink
Fix bug on states import
Browse files Browse the repository at this point in the history
  • Loading branch information
xnx committed May 2, 2024
1 parent bd319ed commit 22afca7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="pyvalem",
version="2.6",
version="2.6.1",
description="A package for managing simple chemical species and states",
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down
1 change: 1 addition & 0 deletions src/pyvalem/states/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
from .vibrational_state import VibrationalState, VibrationalStateError
from .generic_excited_state import GenericExcitedState, GenericExcitedStateError
from .key_value_pair import KeyValuePair, KeyValuePairError
from .compound_LS_coupling import CompoundLSCoupling, CompoundLSCouplingError
9 changes: 9 additions & 0 deletions tests/test_imports.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import unittest

from pyvalem import states


class StatesImportTest(unittest.TestCase):
def test_state_types_import(self):
self.assertIn("AtomicTermSymbol", states.__dict__)
self.assertIn("CompoundLSCoupling", states.__dict__)

0 comments on commit 22afca7

Please sign in to comment.