Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparing 1.14.0 release #297

Merged
merged 180 commits into from
Sep 16, 2024
Merged

Preparing 1.14.0 release #297

merged 180 commits into from
Sep 16, 2024

Conversation

MathCancer
Copy link
Owner

No description provided.

drbergman and others added 30 commits January 8, 2024 00:25
Just needed to initialize the pointers in a better way for them to be passed across functions and objects. I won't pretend to understand why this works, only that it does work.
My initial fix unsynched the rules_map and the rules members of Hypothesis_Ruleset. This meant that when add_signal is called, only the Hypothesis_Rule's pointed to by the rules_map were updated and not the Hypothesis_Rule's in the rules vector.

In this fix, the rules vector is now a vector of pointers to Hypothesis_Rules. See Lines 780 and 781 where both end up with the same (pointer) value stored.
Bug fixed: Previously in a scenario with multiple rules in the same response (increase or decrease) the last rule defined the max/min response value of behavior. Right now, it checks the min/max response value for all rules of the same behavior.
In the previous implementation, the last rule determined the maximum or minimum response of the behavior. In the current update, the behavior now checks for the maximum and minimum response in all rules. In cases where the minimum or maximum values do not exist, the system defaults to using the base value.
Adjust to the V0
… xml (intracellular=maboss) that will set the steepness of the hill function for each defined behavior. Standard value is 10 (very close to a step-like function)
This extends the functionality of plotting substrate heatmaps on SVG output:
* Allows for all colormaps permitted in studio for visualizing substrate concentrations
* Allows for configuration of this heatmap in the XML configuration file
* updates all sample projects so that they can use this functionality just by enabling SVG substrate plots in the XML
Also, add the substrate element to the template project's SVG element in the config file. set to enabled="false" so as not to force this
disable_bugfix did not update based on the value of legacy_cell_defaults_copy previously. This fixes that for anyone still using the old, buggy version.
As discussed, the rule is defined as unique if the cell, behavior, signal, and response are equal. Previously, the test only included the signal; in this pull request, we have added the response test.
… specified in a .mat file

CSVs (w/o headers) can be used for substrate ics.

Substrate ICs from csv with headers.

Now can include a header row in the CSV defining substrate ICs so that only a subset of substrates can be included for specification. If no header row is given, then it assumes the first n substrates are specified, which could be problematic? It issues a warning about that though.
Any behavior (as well as volume) can be set on a cell-by-cell basis drawn from a list of parameter distributions: uniform, loguniform, normal, lognormal, log10normal. See the template project after custom_data for how this can be implemented. Note: those are disabled to not change the base behavior of the template project.

Checks are performed to ensure coherence (lower bounds <= upper bounds) and to make sure that truncated normals warn the user about how long they will take for draws.

The main function, set_parameters_from_distributions() should be called immediately after load_cells_from_pugixml() and it will update the values of the loaded cells.
allow user to change max num (spring) attachments in xml
Fix bug related to maximum/minimum saturation values and uniqueness test for rules
MathCancer and others added 29 commits September 10, 2024 12:00
remove unwanted files; fix cancer_biorobots bug; etc.
Fix bug in matlab/read_MultiCellDS_xml.m
fix typo in beta/test_plot_svgs_montage.py
set attack duration default to 30min
update copyright in core/*.h
update copyright in core/*.cpp
update copyright in modules/*.h
update copyright in modules/*.cpp
@MathCancer MathCancer merged commit 5055595 into master Sep 16, 2024
192 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants