Skip to content

Commit

Permalink
Merge pull request #200 from NCAR/main
Browse files Browse the repository at this point in the history
Version 2.2.3
  • Loading branch information
K20shores committed Aug 27, 2024
2 parents 1b0071e + ed37c2a commit 100525d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/acom_music_box/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This package contains modules for handling various aspects of a music box,
including species, products, reactants, reactions, and more.
"""
__version__ = "2.2.2"
__version__ = "2.2.3"

from .utils import convert_time, convert_pressure, convert_temperature, convert_concentration
from .species import Species
Expand Down
6 changes: 4 additions & 2 deletions src/acom_music_box/conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@ def from_config_JSON(
if 'initial conditions' in config_JSON and len(
list(config_JSON['initial conditions'].keys())) > 0:

initial_conditions_path = os.path.dirname(
path_to_json) + "/" + list(config_JSON['initial conditions'].keys())[0]
initial_conditions_path = os.path.join(
os.path.dirname(path_to_json),
list(config_JSON['initial conditions'].keys())[0])

reaction_rates = Conditions.read_initial_rates_from_file(
initial_conditions_path, reaction_list)

Expand Down

0 comments on commit 100525d

Please sign in to comment.