Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,23 @@ jobs:
runs-on: ubuntu-latest

steps:

# Check out your repository
- uses: actions/checkout@v5

# Start display server (for UI tests in Linux)
- name: Start display server
run: |
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV

# Set up MATLAB on a GitHub-hosted runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: ${{ env.PRODUCT_LIST }}
cache: true

- name: Start display server (for UI tests in Linux)
run: |
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV

# Run the MATLAB build tool to build and test your code
- name: Run buildtool
uses: matlab-actions/run-build@v2
Expand All @@ -72,14 +74,20 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

# The type of runner that the job will run on
runs-on: windows-latest
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Check out your repository
- uses: actions/checkout@v5

# Start display server (for UI tests in Linux)
- name: Start display server
run: |
Xvfb :99 &
echo "DISPLAY=:99" >> $GITHUB_ENV

# Set up MATLAB on a GitHub-hosted runner
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
Expand Down
7 changes: 4 additions & 3 deletions code/ConcTimecourseView.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
ConcColors = [0.30,0.75,0.93;...
0.86,0.55,0.41;...
0.91,0.73,0.42]; % colors to plot concentrations
LineWidth = 2.5
FontName = "Helvetica";
end

Expand Down Expand Up @@ -39,10 +40,10 @@
xlabel(ax, "Time (hours)", 'FontName',obj.FontName);
ylabel(ax, "Concentrations (nanomole/liter)",'FontName',obj.FontName);

obj.lhDrug = plot(ax, NaN, NaN, '-','Linewidth',2,'DisplayName','Drug');
obj.lhDrug = plot(ax, NaN, NaN, '-','Linewidth',obj.LineWidth,'DisplayName','Drug');
hold(ax,'on');
obj.lhReceptor = plot(ax, NaN, NaN, '-','Linewidth',2,'DisplayName','Receptor');
obj.lhComplex= plot(ax, NaN, NaN, '-','Linewidth',2,'DisplayName','Complex');
obj.lhReceptor = plot(ax, NaN, NaN, '-','Linewidth',obj.LineWidth,'DisplayName','Receptor');
obj.lhComplex= plot(ax, NaN, NaN, '-','Linewidth',obj.LineWidth,'DisplayName','Complex');
hold(ax,'off');
lgd = legend(ax,'show','FontName',obj.FontName,'Color','none');
lgd.Box = "off";
Expand Down
4 changes: 3 additions & 1 deletion code/ROTimecourseView.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

ThresholdStyle = {'Color','r','Linewidth',2,'LineStyle','--',...
'FontWeight','bold','LabelVerticalAlignment','middle'}; % style for threshold lines

Linewidth = 2.5
end

properties ( Hidden, SetAccess=private)
Expand Down Expand Up @@ -41,7 +43,7 @@
xlabel(ax, "Time (hours)", 'FontName',obj.FontName);
ylabel(ax, "RO (%)",'FontName',obj.FontName);

obj.lhRO = plot(ax, NaN, NaN,'Linewidth',2);
obj.lhRO = plot(ax, NaN, NaN,'Linewidth',obj.Linewidth);
yline(ax,model.ThresholdValues(1), '--','efficacy','FontName',obj.FontName,obj.ThresholdStyle{:});
yline(ax,model.ThresholdValues(2), '--','safety','FontName',obj.FontName,obj.ThresholdStyle{:});
grid(ax,"on");
Expand Down