File tree Expand file tree Collapse file tree 7 files changed +19
-234
lines changed
Expand file tree Collapse file tree 7 files changed +19
-234
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,18 @@ Development versions of the PEtab library can be installed using
3434When setting up a new parameter estimation problem, the most useful tools will
3535be:
3636
37- - The ** PEtab validator** , which is now automatically installed using Python
38- entrypoints to be available as a shell command from anywhere called
37+ - The [ PEtab validator] ( https://petab.readthedocs.io/projects/libpetab-python/en/latest/example/example_petablint.html ) ,
38+ which is automatically installed using Python
39+ entrypoints to be available as a shell command from anywhere, called
3940 ` petablint `
4041
41- - ` petab.create_parameter_df ` to create the parameter table, once you
42- have set up the model, condition table, observable table and measurement
43- table
42+ - [ ` petab.create_parameter_df ` ] ( https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.parameters.html#petab.parameters.create_parameter_df )
43+ to create the parameter table, once you have set up the model,
44+ condition table, observable table and measurement table
4445
45- - ` petab.create_combine_archive ` to create a
46- [ COMBINE Archive] ( https://combinearchive.org/index/ ) from PEtab files
46+ - [ ` petab.create_combine_archive ` ] ( https://petab.readthedocs.io/projects/libpetab-python/en/latest/build/_autosummary/petab.core.html#petab.core.create_combine_archive )
47+ to create a [ COMBINE Archive] ( https://combinearchive.org/index/ ) from PEtab
48+ files
4749
4850## Examples
4951
Original file line number Diff line number Diff line change 1919
2020# -- Project information -----------------------------------------------------
2121
22- project = 'PEtab '
22+ project = 'libpetab-python '
2323copyright = '2018, the PEtab developers'
2424author = 'PEtab developers'
2525
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212 :caption: About
1313
1414 Changelog <CHANGELOG.md >
15- Development <development >
1615 how_to_cite
1716 license
1817
Original file line number Diff line number Diff line change @@ -363,5 +363,9 @@ def calculate_single_llh(
363363 nllh = log (2 * sigma * m ) + abs ((log (s )- log (m ))/ sigma )
364364 elif noise_distribution == LAPLACE and scale == LOG10 :
365365 nllh = log (2 * sigma * m * log (10 )) + abs ((log10 (s )- log10 (m ))/ sigma )
366+ else :
367+ raise NotImplementedError (
368+ "Unsupported combination of noise_distribution and scale "
369+ f"specified: { noise_distribution } , { scale } ." )
366370 llh = - nllh
367371 return llh
Original file line number Diff line number Diff line change @@ -238,7 +238,8 @@ def is_empty(val) -> bool:
238238
239239
240240def create_combine_archive (
241- yaml_file : str , filename : str ,
241+ yaml_file : str ,
242+ filename : str ,
242243 family_name : Optional [str ] = None ,
243244 given_name : Optional [str ] = None ,
244245 email : Optional [str ] = None ,
@@ -249,6 +250,7 @@ def create_combine_archive(
249250
250251 Arguments:
251252 yaml_file: Path to PEtab YAML file
253+ filename: Destination file name
252254 family_name: Family name of archive creator
253255 given_name: Given name of archive creator
254256 email: E-mail address of archive creator
Original file line number Diff line number Diff line change @@ -307,8 +307,8 @@ def assert_all_parameters_present_in_parameter_df(
307307def assert_measured_observables_defined (
308308 measurement_df : pd .DataFrame ,
309309 observable_df : pd .DataFrame ) -> None :
310- """Check if all observables in the measurement table have been defined in the
311- observable table
310+ """Check if all observables in the measurement table have been defined in
311+ the observable table
312312
313313 Arguments:
314314 measurement_df: PEtab measurement table
You can’t perform that action at this time.
0 commit comments