Skip to content

Commit 2e8d19c

Browse files
committed
add documentation for defined entrypoints
1 parent 687fe98 commit 2e8d19c

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

docs/modules.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Modules
22

3-
## libvcell.libvcell
3+
## libvcell
44

5-
::: libvcell.libvcell
5+
::: libvcell
6+
7+
# Modules
8+
9+
## libvcell
10+
11+
::: libvcell
12+
13+
### Functions
14+
15+
#### sbml_to_finite_volume_input
16+
17+
::: libvcell.solver_utils.sbml_to_finite_volume_input
18+
19+
#### vcml_to_finite_volume_input
20+
21+
::: libvcell.solver_utils.vcml_to_finite_volume_input

libvcell/solver_utils.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,33 @@
44

55

66
def vcml_to_finite_volume_input(vcml_content: str, simulation_name: str, output_dir_path: Path) -> tuple[bool, str]:
7+
"""
8+
Convert VCML content to finite volume input files
9+
10+
Args:
11+
vcml_content (str): VCML content
12+
simulation_name (str): simulation name
13+
output_dir_path (Path): output directory path
14+
15+
Returns:
16+
tuple[bool, str]: A tuple containing the success status and a message
17+
"""
718
native = VCellNativeCalls()
819
return_value: ReturnValue = native.vcml_to_finite_volume_input(vcml_content, simulation_name, output_dir_path)
920
return return_value.success, return_value.message
1021

1122

1223
def sbml_to_finite_volume_input(sbml_content: str, output_dir_path: Path) -> tuple[bool, str]:
24+
"""
25+
Convert SBML content to finite volume input files
26+
27+
Args:
28+
sbml_content (str): SBML content
29+
output_dir_path (Path): output directory path
30+
31+
Returns:
32+
tuple[bool, str]: A tuple containing the success status and a message
33+
"""
1334
native = VCellNativeCalls()
1435
return_value: ReturnValue = native.sbml_to_finite_volume_input(sbml_content, output_dir_path)
1536
return return_value.success, return_value.message

0 commit comments

Comments
 (0)