Skip to content

Commit

Permalink
Convert to julia object
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Apr 4, 2024
1 parent d31af85 commit 4bec89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmgpy/rmg/reactors.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def generate_reactor(self, phase_system):
cat_constant_species = [cspc for cspc in self.const_spc_names if cspc in [spc.name for spc in surf.species]]
domainliq, y0liq, pliq = rms.ConstantTVDomain(phase=liq, initialconds=to_julia(self.initial_conditions["liquid"]), constantspecies=to_julia(liq_constant_species))

Check warning on line 496 in rmgpy/rmg/reactors.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/rmg/reactors.py#L496

Added line #L496 was not covered by tests
domaincat, y0cat, pcat = rms.ConstantTAPhiDomain(
phase=surf, initialconds=to_julia(self.initial_conditions["surface"]), constantspecies=cat_constant_species
phase=surf, initialconds=to_julia(self.initial_conditions["surface"]), constantspecies=to_julia(cat_constant_species),
)
if interface.reactions == []:
inter, pinter = rms.ReactiveInternalInterfaceConstantTPhi(
Expand Down

0 comments on commit 4bec89e

Please sign in to comment.