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

Reintegrate OSMOSES into develop #2045

Merged
merged 133 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from 131 commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
ce31243
Create OSMOSES branch
rwmcintosh Nov 28, 2022
05fe2ff
remove older nupkg files for each deploy
rwmcintosh Nov 28, 2022
1497e9f
update build-scripts
rwmcintosh Nov 28, 2022
85bf3c5
automatically update applications with -m -p arguments
rwmcintosh Nov 29, 2022
c062872
add batch files for rake tasks
rwmcintosh Nov 29, 2022
79df3bc
fixed (#1740)
georgeDaskalakis Oct 31, 2022
e7b645e
description corrected (#1742)
georgeDaskalakis Nov 3, 2022
d1c969e
Fixes #1746 Create typed way to use quantile extension methods (#1747)
rwmcintosh Nov 7, 2022
12939aa
Fixes #1744 default dimension for QuantityPKParameter (#1745)
rwmcintosh Nov 9, 2022
26d5e58
1749 default scaling when changing output (#1751)
georgeDaskalakis Nov 9, 2022
fed6391
1748 output mapping wrong namespace (#1756)
msevestre Nov 9, 2022
8a1dc62
1743 transferring mappings from simulation to PI (#1755)
georgeDaskalakis Nov 9, 2022
ee61568
1752 deviation lines in legend (#1754)
georgeDaskalakis Nov 9, 2022
0954593
correcting build (#1760)
georgeDaskalakis Nov 10, 2022
6e50444
1761 closing Residuals vs Time exception fixed (#1762)
georgeDaskalakis Nov 10, 2022
6af599c
Fixes #1764 refresh mapped observed data (#1766)
rwmcintosh Nov 10, 2022
b331c3e
Move output mappings also int he wrong namespace
msevestre Nov 11, 2022
a2f7aad
1772 ensure that output mapping are exported (#1775)
msevestre Nov 11, 2022
5e8d31b
Fixes #1773 Crash when simulation doesn't have results (#1774)
rwmcintosh Nov 11, 2022
6f17c79
1769 duplicate deviation lines (#1770)
georgeDaskalakis Nov 11, 2022
efdd866
Fixes some code update to remove unused method, abide to convention f…
msevestre Nov 11, 2022
7924bf2
Swap simulations (#1777)
msevestre Nov 12, 2022
4fab196
Fixes #1783 Crash when exporting population simulation pk analyses to…
rwmcintosh Nov 14, 2022
18b68d0
1767 return empty plot when observed data without nonZero values (#1768)
georgeDaskalakis Nov 14, 2022
a84e89d
Fixes #1785 Inconsistent curve naming
rwmcintosh Nov 14, 2022
c4851b9
add comment for why we are removing the simulation name
rwmcintosh Nov 14, 2022
8d106da
1787 adding features to simulation comparisons (#1790)
georgeDaskalakis Nov 15, 2022
fbe7cf8
Fixes #1792 Deviation and Identity columns are not named in data browser
rwmcintosh Nov 15, 2022
27afa12
PR requested change
rwmcintosh Nov 15, 2022
7331743
1781 grouping fixed in code (#1782)
georgeDaskalakis Nov 16, 2022
9f6aa4e
1763 delete observed data entry (#1765)
georgeDaskalakis Nov 16, 2022
0922254
Fixes #1780 Clone of chart does not clone deviation lines (#1791)
rwmcintosh Nov 16, 2022
b13a918
Fixes #1794 residuals vs time plot not refreshing
rwmcintosh Nov 16, 2022
12641e5
1796 serializer for residual vs time chart missing (#1797)
msevestre Nov 16, 2022
a46124b
Fixes #1798 missing identity line (#1799)
msevestre Nov 17, 2022
355a08d
Fixes improve codre resilience (#1800)
msevestre Nov 18, 2022
ac5aba9
fixed (#1808)
georgeDaskalakis Nov 22, 2022
ad2a452
issue fixed (#1805)
georgeDaskalakis Nov 24, 2022
7a05136
1802 inconsistent dimension fixed (#1803)
georgeDaskalakis Nov 28, 2022
9601f3b
Merge branch 'develop' into OSMOSES
georgeDaskalakis Dec 6, 2022
a2f2ec5
updating develop merge
georgeDaskalakis Dec 6, 2022
148c260
Expression profile in core (#1814)
georgeDaskalakis Dec 8, 2022
8c9078d
build the osmoses branch (#1818)
rwmcintosh Dec 8, 2022
7d8adc0
increment build version (#1820)
rwmcintosh Dec 8, 2022
b926ffa
Fixes #1825 Refactor StartValues vs PathWithValueEntity (#1824)
rwmcintosh Dec 9, 2022
d8b4fb2
Fixes #1828 create expression profiles from PKSim (#1830)
rwmcintosh Dec 12, 2022
6170cc3
Fixes #1357 individual building block for mobi (#1831)
rwmcintosh Dec 16, 2022
82b06c0
Fixes #1832 individual serialization (#1847)
rwmcintosh Dec 21, 2022
9dd521b
Fixes #1855 Individual Management (#1856)
rwmcintosh Jan 4, 2023
1dce3d0
#1866 view and presenter for individual (#1867)
rwmcintosh Jan 12, 2023
47e0e6a
Fixes #1833 Comparison of cloned expression profile (#1869)
rwmcintosh Jan 13, 2023
b8f1a2b
Fixes #1870 implement individual comparison (#1871)
rwmcintosh Jan 13, 2023
885179a
Fixes #1878 Rename error description incorrect when renaming building…
rwmcintosh Jan 27, 2023
e2bf896
Fixes #1876 Comparison of MSV BBs - list "Molecule name" and "Path" s…
rwmcintosh Jan 30, 2023
42d0749
Fixes #1884 Create domain object for Module (#1885)
rwmcintosh Feb 2, 2023
0a66cb3
Fixes #1887 Create placeholder ApplicationIcons for Modules (#1889)
rwmcintosh Feb 6, 2023
ba76702
Fixes #1890 create placeholder icon for new module ribbon button (#1893)
rwmcintosh Feb 13, 2023
9b49b5e
Fixes #1894 Some user interface changes based on demo (#1895)
rwmcintosh Feb 13, 2023
2da6469
Fixes #822 Module Serialization (#1896)
rwmcintosh Feb 13, 2023
58561e1
Fixes #1897 Implement module registration (#1898)
rwmcintosh Feb 14, 2023
ebf90b4
Fixes #603 extension of formula reference (#1899)
msevestre Feb 14, 2023
1b21594
603 plug function to model constructor (#1900)
msevestre Feb 15, 2023
75881f2
837 sum formula parent (#1901)
msevestre Feb 16, 2023
958e688
Remove interface for object path making stuff just too complicated fo…
msevestre Feb 17, 2023
fc29bf5
Fixes #1904
msevestre Feb 17, 2023
3b5b50b
Fixes #1903 Resolve commands with dynamic container instead of static…
rwmcintosh Feb 21, 2023
ab9be16
Fixes #1907 Imported expression profile is not populated from the dat…
rwmcintosh Feb 24, 2023
840f7a0
Fixes #1912 Rename class ExpressionParameterUpdate (#1913)
rwmcintosh Mar 1, 2023
38f61d2
missing from #1912 null checks (#1914)
rwmcintosh Mar 1, 2023
3b680f0
reverse the removal of extension methods (#1915)
rwmcintosh Mar 2, 2023
e960489
Fixes #1918 (#1919)
msevestre Mar 8, 2023
4963347
Fixes #1909 Gridview dark mode is hard to use (#1917)
rwmcintosh Mar 8, 2023
4171cd2
Fixes #1920 create neighborhood builder with path instead of containe…
msevestre Mar 10, 2023
0e182ba
update to diagram (#1923)
msevestre Mar 10, 2023
522cd00
Add neighbor icons
msevestre Mar 16, 2023
b5eb04b
Some typo fixing
msevestre Mar 18, 2023
66ec67c
1928 do not export psv (#1929)
msevestre Mar 20, 2023
9aac8e6
Fixes #1933 readonly cells are not easily readable (#1935)
rwmcintosh Mar 20, 2023
c13ee65
Fixes #1934 create simulation configuration (#1936)
msevestre Mar 21, 2023
e448322
Make helper properties virtual
msevestre Mar 21, 2023
47f8bc6
Make helper properties virtual
msevestre Mar 21, 2023
af11499
Make helper properties virtual
msevestre Mar 21, 2023
43d9c0f
Simulation Configuration only returns one
msevestre Mar 21, 2023
4d5ed9f
Add missing serialization
msevestre Mar 21, 2023
ee55074
Add missing serialization
msevestre Mar 21, 2023
e2397d9
Fixes #1939 logic update do not override formula with constant (#1940)
msevestre Mar 21, 2023
348189d
Add missing itnerfaces to OriginDataItem (#1941)
msevestre Mar 22, 2023
2318eba
Fixes #1943 Open access to project conversion for simulation xml (#1…
rwmcintosh Mar 28, 2023
79dc461
1945 proposal for parameters in individual (#1950)
msevestre Apr 3, 2023
089f5a4
1954 remove pk sim project and add extension properties (#1955)
msevestre Apr 4, 2023
ceb7936
1953 ensures that the simulation configuration supports multiple modu…
msevestre Apr 4, 2023
2851fbe
Add setter for module configuration
msevestre Apr 4, 2023
88b6057
1963 only export species independent parameters to spatial structure …
msevestre Apr 6, 2023
9e190da
#1963 Add easy access method to get entity by path as string
msevestre Apr 6, 2023
45afcfd
Adding functionalities to module (#1966)
georgeDaskalakis Apr 6, 2023
91da344
Fixes #1967 add origin (#1968)
msevestre Apr 6, 2023
bd5ed75
Apply the meta data also for existing parameter (#1969)
msevestre Apr 6, 2023
c5826c5
#1970 add merger function to simulation configuration. Actual mer… (#…
msevestre Apr 12, 2023
d781297
Fixes #1970 add simulation builder (#1973)
msevestre Apr 12, 2023
c135882
Fixes #1976 remove some domain interfaces (#1977)
msevestre Apr 13, 2023
ea4eb6c
Add missing IProcessBuilder interface
msevestre Apr 13, 2023
1c7cdbd
1972 how are we going to merge spatial structure (#1978)
msevestre Apr 14, 2023
8ea8372
Fixes #1979 Changes required for creating simulation in MoBi (#1980)
rwmcintosh Apr 14, 2023
8c4c6a6
Fixes #1981 Cloning module crashes (#1982)
rwmcintosh Apr 18, 2023
213e3b0
Fixes #1983 Module icon is missing in Module explorer (#1984)
rwmcintosh Apr 19, 2023
ffa8526
Fixes #1985 ignore neighborhood nto defined (#1986)
msevestre Apr 21, 2023
09ad5e5
Fixes #1987 add reference to module in building blocks (#1988)
msevestre Apr 21, 2023
af779d8
Fixes #1989 Implement clone of SimulationConfiguration (#1990)
rwmcintosh Apr 27, 2023
cb0e5bd
Fixes #1991 curve binder refresh performance (#1992)
rwmcintosh Apr 28, 2023
7d62887
Fixes #1993 Remove PKSim Folders icons (#1994)
rwmcintosh Apr 28, 2023
54ac464
1995 setting the value of a discrete distribution mean parameter does…
msevestre May 3, 2023
aa9922d
1997 building blocks of cloned module do not have parent module set (…
rwmcintosh May 3, 2023
d6a63c6
Merge branch 'develop' into OSMOSES
rwmcintosh May 4, 2023
a05616a
Fixes #1999 rename msv and psv (#2000)
rwmcintosh May 5, 2023
11bd329
2002 remove StartValue abstractions (#2003)
rwmcintosh May 9, 2023
f8d7b0d
Fixes #2006 Require that applications specify their local directory (…
rwmcintosh May 16, 2023
ac4e4ff
Fixes #2008 Double-click on a module opens "Add building blocks" dial…
rwmcintosh May 17, 2023
097bc28
Fixes #2010 create building blocks with default names (#2011)
rwmcintosh May 20, 2023
677d225
Fixes #2013 Cannot rename a simulation (#2014)
rwmcintosh May 23, 2023
051bcda
Fixes #2015 Small expression display caption changes (#2016)
rwmcintosh May 24, 2023
dc83a06
Fixes #2017 Move Initial Conditions relating to an expression profile…
rwmcintosh May 26, 2023
0e2a3dd
Fixes #2020 building block are not cloned (#2021)
msevestre Jun 2, 2023
2fb9478
Fixes #2025 unhandled exception (#2026)
msevestre Jun 2, 2023
d60f0cd
Fixes #2022 Add common interface to indicate a building block contain…
rwmcintosh Jun 5, 2023
5b61b0d
Fixes #2030 Weird "differences" when applying an expression profile (…
rwmcintosh Jun 9, 2023
d4c875e
Fixes #2028 "Initial concentration" overwritten to 0 when creating a …
rwmcintosh Jun 9, 2023
e6f92a9
Fixes #2032 Create DisplayName property of building block (#2033)
rwmcintosh Jun 13, 2023
33561d3
Fixes #2036 add distributed table formula to core (#2037)
msevestre Jun 15, 2023
63b5a3d
Make sure expression profile values are updated BEFORE indiviudal values
msevestre Jun 15, 2023
6d1fe38
Fixes #2038 Double click to expand parameter values and initial condi…
rwmcintosh Jun 19, 2023
19555b1
Fixes #2041 Create initial conditions for ExpressionProfileBuildingBl…
rwmcintosh Jun 23, 2023
3e85fb3
Undo changes in appveyor.yml
msevestre Jun 23, 2023
ef28c4c
Undo changes in appveyor.yml
msevestre Jun 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

.NCrunch_OSPSuite.Core/

# User-specific files
*.suo
*.user
Expand Down
1 change: 1 addition & 0 deletions SolutionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[assembly: AssemblyCopyright("Copyright � 2017 - present - Open Systems Pharmacology Community")]
[assembly: ComVisible(false)]
[assembly: InternalsVisibleTo("OSPSuite.Core.Tests")]
[assembly: InternalsVisibleTo("OSPSuite.HelperForTests")]
[assembly: InternalsVisibleTo("OSPSuite.UI.Tests")]
[assembly: InternalsVisibleTo("OSPSuite.Presentation.Tests")]
[assembly: InternalsVisibleTo("OSPSuite.R.Tests")]
Expand Down
11 changes: 6 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ image: Visual Studio 2019
version: '{build}'

init:
- ps: Update-AppveyorBuild -Version "$($env:ospsuite_version).$($env:appveyor_build_version)"
- ps: Update-AppveyorBuild -Version "12.0.$($env:appveyor_build_version)"

dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '$(ospsuite_version).$(build_number)'
assembly_version: '$(ospsuite_version).$(build_number)'
file_version: '$(ospsuite_version).$(build_number)'
informational_version: '$(ospsuite_version).$(build_number)'
version: '12.0.$(build_number)'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should undo this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't need any of these changes in appveyor.yml, just bump the environment var

assembly_version: '12.0.$(build_number)'
file_version: '12.0.$(build_number)'
informational_version: '12.0.$(build_number)'

before_build:
- nuget sources add -name bddhelper -source https://ci.appveyor.com/nuget/ospsuite-bddhelper
Expand Down Expand Up @@ -50,6 +50,7 @@ skip_commits:
branches:
only:
- develop
- OSMOSES

test:
assemblies:
Expand Down
4 changes: 4 additions & 0 deletions mobi_nuget.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
cls
rake create_local_nuget[-m]
pause
4 changes: 4 additions & 0 deletions nuget_to_both.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
cls
rake create_local_nuget[-m,-p]
pause
4 changes: 4 additions & 0 deletions pksim_nuget.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
cls
rake create_local_nuget[-p]
pause
102 changes: 79 additions & 23 deletions rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,88 @@
Coverage.cover(filter, targetProjects)
end

task :copy_to_pksim do
copy_to_app '../PK-Sim/src/PKSim/bin/Debug/net472'
task :copy_to_pksim do
copy_to_app '../PK-Sim/src/PKSim/bin/Debug/net472'
end

task :copy_to_mobi do
copy_to_app '../MoBi/src/MoBi/bin/Debug/net472'
end

task :create_local_nuget, [:arg1, :arg2] do |t, args|
FileUtils.rm_f Dir.glob("./nuget_repo/*.nupkg")
versionId = "12.0.0-" + generate_code(5)
puts("Your version is " + versionId.red)
system("dotnet", "pack", "-p:PackageVersion="+ versionId, "--configuration", "Debug", "--output", "nuget_repo", "--no-build")

if args.to_hash.values.include? "-m"
update_mobi(versionId)
end

task :copy_to_mobi do
copy_to_app '../MoBi/src/MoBi/bin/Debug/net472'
if args.to_hash.values.include? "-p"
update_pksim(versionId)
end

private

def copy_to_app(app_target_relative_path)
app_target_path = File.join(solution_dir, app_target_relative_path)
source_dir = File.join(tests_dir, 'OSPSuite.Starter', 'bin', 'Debug', "net472")

copy_dependencies source_dir, app_target_path do
copy_file 'OSPSuite.*.dll'
copy_file 'OSPSuite.*.pdb'
end


end

private
def find_token(file, regex)
file_content = str = IO.read(file)
matches = file_content.match(regex)

if(matches.nil?)
return nil
end

def solution_dir
File.dirname(__FILE__)
return matches[1]
end

def update_mobi(versionId)
puts("updating MoBi")
token = find_token("../MoBi/src/MoBi/MoBi.csproj", /<PackageReference Include="OSPSuite.Core" Version="(.*)"/)
if(token.nil?)
return
end

def tests_dir
File.join(solution_dir, 'tests')

glob = Dir.glob('../MoBi/**/*.csproj')
glob.each do |file|
Utils.replace_tokens({token => versionId}, file)
end

end

def update_pksim(versionId)
puts("updating PKSim")
token = find_token("../PK-Sim/src/PKSim/PKSim.csproj", /<PackageReference Include="OSPSuite.Core" Version="(.*)"/)
if(token.nil?)
return
end

glob = Dir.glob('../PK-Sim/**/*.csproj')
glob.each do |file|
Utils.replace_tokens({token => versionId}, file)
end
end

def generate_code(number)
charset = Array('A'..'Z') + Array('a'..'z')
Array.new(number) { charset.sample }.join
end

def copy_to_app(app_target_relative_path)
app_target_path = File.join(solution_dir, app_target_relative_path)
source_dir = File.join(tests_dir, 'OSPSuite.Starter', 'bin', 'Debug', "net472")

copy_dependencies source_dir, app_target_path do
copy_file 'OSPSuite.*.dll'
copy_file 'OSPSuite.*.pdb'
end

end

def solution_dir
File.dirname(__FILE__)
end

def tests_dir
File.join(solution_dir, 'tests')
end

2 changes: 1 addition & 1 deletion scripts
Submodule scripts updated 3 files
+18 −0 R.rb
+172 −170 setup.rb
+0 −30 smartxls.rb
44 changes: 25 additions & 19 deletions src/OSPSuite.Assets.Images/ApplicationIcons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static class ApplicationIcons
public static readonly ApplicationIcon ExpertParameters = AddNamedIcon("Parameters", "ExpertParameters");
public static readonly ApplicationIcon PopulationExportToCSV = AddNamedIcon("PopulationExportToCSV");
public static readonly ApplicationIcon ExportToPDF = AddNamedIcon("PDF", "ExportToPDF");
public static readonly ApplicationIcon ExtendParameterStartValues = AddNamedIcon("ExtendParameterStartValues");
public static readonly ApplicationIcon ExtendParameterValues = AddNamedIcon("ExtendParameterValues");
public static readonly ApplicationIcon ExtracellularMembrane = AddNamedIcon("ExtracellularMembrane");
public static readonly ApplicationIcon Fat = AddNamedIcon("Fat");
public static readonly ApplicationIcon Favorites = AddNamedIcon("Favorites");
Expand All @@ -138,8 +138,8 @@ public static class ApplicationIcons
public static readonly ApplicationIcon HumanGreen = AddNamedIcon("HumanGreen");
public static readonly ApplicationIcon HumanRed = AddNamedIcon("HumanRed");
public static readonly ApplicationIcon Import = AddNamedIcon("ObservedData", "Import");
public static readonly ApplicationIcon MoleculeStartValuesImport = AddNamedIcon("MoleculeStartValuesImport");
public static readonly ApplicationIcon ParameterStartValuesImport = AddNamedIcon("ParameterStartValuesImport");
public static readonly ApplicationIcon InitialConditionsImport = AddNamedIcon("InitialConditionsImport");
public static readonly ApplicationIcon ParameterValuesImport = AddNamedIcon("ParameterValuesImport");
public static readonly ApplicationIcon ImportPopulation = AddNamedIcon("ImportPopulation");
public static readonly ApplicationIcon PopulationSimulationLoad = AddNamedIcon("PopulationSimulationLoad");
public static readonly ApplicationIcon ResultsImportFromCSV = AddNamedIcon("ResultsImportFromCSV", IconNames.RESULTS_IMPORT_FROM_CSV);
Expand Down Expand Up @@ -216,10 +216,10 @@ public static class ApplicationIcons
public static readonly ApplicationIcon MoleculeFolder = AddNamedIcon("MoleculeFolder");
public static readonly ApplicationIcon MoleculeGreen = AddNamedIcon("MoleculeGreen");
public static readonly ApplicationIcon MoleculeRed = AddNamedIcon("MoleculeRed");
public static readonly ApplicationIcon MoleculeStartValues = AddNamedIcon("MoleculeStartValues", IconNames.MOLECULE_START_VALUES);
public static readonly ApplicationIcon MoleculeStartValuesFolder = AddNamedIcon("MoleculeStartValuesFolder");
public static readonly ApplicationIcon MoleculeStartValuesGreen = AddNamedIcon("MoleculeStartValuesGreen");
public static readonly ApplicationIcon MoleculeStartValuesRed = AddNamedIcon("MoleculeStartValuesRed");
public static readonly ApplicationIcon InitialConditions = AddNamedIcon("InitialConditions", IconNames.INITIAL_CONDITIONS);
public static readonly ApplicationIcon InitialConditionsFolder = AddNamedIcon("InitialConditionsFolder");
public static readonly ApplicationIcon InitialConditionsGreen = AddNamedIcon("InitialConditionsGreen");
public static readonly ApplicationIcon InitialConditionsRed = AddNamedIcon("InitialConditionsRed");
public static readonly ApplicationIcon Monkey = AddNamedIcon("Monkey");
public static readonly ApplicationIcon MonkeyGreen = AddNamedIcon("MonkeyGreen");
public static readonly ApplicationIcon MonkeyRed = AddNamedIcon("MonkeyRed");
Expand Down Expand Up @@ -257,10 +257,10 @@ public static class ApplicationIcons
public static readonly ApplicationIcon ParameterDistribution = AddNamedIcon("Histogram", "ParameterDistribution");
public static readonly ApplicationIcon Parameters = AddNamedIcon("Parameters");
public static readonly ApplicationIcon ParametersError = AddNamedIcon("ParametersError");
public static readonly ApplicationIcon ParameterStartValueGreen = AddNamedIcon("ParameterStartValuesGreen");
public static readonly ApplicationIcon ParameterStartValues = AddNamedIcon("ParameterStartValues", IconNames.PARAMETER_START_VALUES);
public static readonly ApplicationIcon ParameterStartValuesFolder = AddNamedIcon("ParameterStartValuesFolder");
public static readonly ApplicationIcon ParameterStartValuesRed = AddNamedIcon("ParameterStartValuesRed");
public static readonly ApplicationIcon ParameterValueGreen = AddNamedIcon("ParameterValuesGreen");
public static readonly ApplicationIcon ParameterValues = AddNamedIcon("ParameterValues", IconNames.PARAMETER_VALUES);
public static readonly ApplicationIcon ParameterValuesFolder = AddNamedIcon("ParameterValuesFolder");
public static readonly ApplicationIcon ParameterValuesRed = AddNamedIcon("ParameterValuesRed");
public static readonly ApplicationIcon PassiveTransport = AddNamedIcon("PassiveTransport", IconNames.PASSIVE_TRANSPORT);
public static readonly ApplicationIcon PassiveTransportFolder = AddNamedIcon("PassiveTransportFolder");
public static readonly ApplicationIcon PassiveTransportGreen = AddNamedIcon("PassiveTransportGreen");
Expand Down Expand Up @@ -403,13 +403,13 @@ public static class ApplicationIcons
public static readonly ApplicationIcon SaveFormulation = AddNamedIcon("FormulationSave");
public static readonly ApplicationIcon MoleculeError = AddNamedIcon("MoleculeError");
public static readonly ApplicationIcon SaveMolecule = AddNamedIcon("MoleculeSave");
public static readonly ApplicationIcon AddMoleculeStartValues = AddNamedIcon("MoleculeStartValuesAdd");
public static readonly ApplicationIcon MoleculeStartValuesLoad = AddNamedIcon("MoleculeStartValuesLoad");
public static readonly ApplicationIcon SaveMoleculeStartValues = AddNamedIcon("MoleculeStartValuesSave");
public static readonly ApplicationIcon AddInitialConditions = AddNamedIcon("InitialConditionsAdd");
public static readonly ApplicationIcon InitialConditionsLoad = AddNamedIcon("InitialConditionsLoad");
public static readonly ApplicationIcon SaveInitialConditions = AddNamedIcon("InitialConditionsSave");
public static readonly ApplicationIcon SaveObserver = AddNamedIcon("ObserverSave");
public static readonly ApplicationIcon AddParameterStartValues = AddNamedIcon("ParameterStartValuesAdd");
public static readonly ApplicationIcon ParameterStartValuesLoad = AddNamedIcon("ParameterStartValuesLoad");
public static readonly ApplicationIcon SaveParameterStartValues = AddNamedIcon("ParameterStartValuesSave");
public static readonly ApplicationIcon AddParameterValues = AddNamedIcon("ParameterValuesAdd");
public static readonly ApplicationIcon ParameterValuesLoad = AddNamedIcon("ParameterValuesLoad");
public static readonly ApplicationIcon SaveParameterValues = AddNamedIcon("ParameterValuesSave");
public static readonly ApplicationIcon SaveReaction = AddNamedIcon("ReactionSave");
public static readonly ApplicationIcon SaveSpatialStructure = AddNamedIcon("SpatialStructureSave");
public static readonly ApplicationIcon ParameterIdentificationFolder = AddNamedIcon("ParameterIdentificationFolder");
Expand All @@ -434,7 +434,7 @@ public static class ApplicationIcons
public static readonly ApplicationIcon CovarianceAnalysisRed = AddNamedIcon("CovarianceAnalysisRed");
public static readonly ApplicationIcon DeleteSelected = AddNamedIcon("DeleteSelected");
public static readonly ApplicationIcon DeleteSourceNotDefined = AddNamedIcon("DeleteSourceNotDefined");
public static readonly ApplicationIcon ExtendMoleculeStartValues = AddNamedIcon("ExtendMoleculeStartValues");
public static readonly ApplicationIcon ExtendInitialConditions = AddNamedIcon("ExtendInitialConditions");
public static readonly ApplicationIcon MoleculeObserver = AddNamedIcon("MoleculeObserver");
public static readonly ApplicationIcon OutputSelection = AddNamedIcon("OutputSelection");
public static readonly ApplicationIcon PreviewOriginData = AddNamedIcon("PreviewOriginData");
Expand Down Expand Up @@ -493,6 +493,12 @@ public static class ApplicationIcons
public static readonly ApplicationIcon ExpressionProfileFolder = AddNamedIcon("ExpressionProfileFolder");
public static readonly ApplicationIcon OSPSuite = AddNamedIcon("OSPSuite");
public static readonly ApplicationIcon RedCross = AddNamedIcon("RedCross");
public static readonly ApplicationIcon ModuleExplorer = AddNamedIcon("ModuleExplorer"); // TODO add an icon svg file. Presently just a copy of BBExplorer svg
public static readonly ApplicationIcon ModulesFolder = AddNamedIcon("ModulesFolder"); // TODO add icon svg file. Presently just a copy of Folder svg
public static readonly ApplicationIcon Module = AddNamedIcon("Module"); // TODO add icon svg file. Presently just a copy of BBExplorer svg
public static readonly ApplicationIcon PKSimModule = AddNamedIcon("PKSimModule"); // TODO add icon svg file. Presently just a copy of BBExplorer svg
public static readonly ApplicationIcon Neighborhood = AddNamedIcon("OSPSuite", "Neighborhood"); // TODO add icon svg file. Presently just a copy of BBExplorer svg
public static readonly ApplicationIcon Neighbor = AddNamedIcon("OSPSuite", "Neighbor"); // TODO add icon svg file. Presently just a copy of BBExplorer svg

// All icons should go at the end of the preceding list, before this delimiting icon - EmptyIcon
private static ApplicationIcon createEmptyIcon() => new ApplicationIcon((SvgImage) null);
Expand Down Expand Up @@ -530,7 +536,7 @@ public static ApplicationIcon AddNamedIcon(string resName, string iconName = nul
{
var name = (iconName ?? resName).ToUpperInvariant();
var iconAsBytes = getIcon(resName);

var appIcon = new ApplicationIcon(iconAsBytes)
{
IconName = name,
Expand Down
1 change: 1 addition & 0 deletions src/OSPSuite.Assets.Images/Icons/Module.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/OSPSuite.Assets.Images/Icons/ModuleExplorer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/OSPSuite.Assets.Images/Icons/ModulesFolder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/OSPSuite.Assets.Images/Icons/PKSimModule.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/OSPSuite.Assets.Images/OSPSuite.Assets.Images.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Link="LICENSE" Pack="true" PackagePath=""/>
<None Include="..\..\logo.png" Pack="true" Link="logo.png" PackagePath="\logo.png"/>
<None Include="..\..\LICENSE" Link="LICENSE" Pack="true" PackagePath="" />
<None Include="..\..\logo.png" Pack="true" Link="logo.png" PackagePath="\logo.png" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 6 additions & 2 deletions src/OSPSuite.Assets/IconNames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public static class IconNames
public const string EVENT_GROUP = "EventGroup";
public const string EVENT = "Event";
public const string MOLECULE = "Molecule";
public const string MOLECULE_START_VALUES = "MoleculeStartValues";
public const string INITIAL_CONDITIONS = "InitialConditions";
public const string OBSERVER = "Observer";
public const string PARAMETER_START_VALUES = "ParameterStartValues";
public const string PARAMETER_VALUES = "ParameterValues";
public const string REACTION = "Reaction";
public const string PASSIVE_TRANSPORT = "PassiveTransport";
public const string PARAMETER = "Parameter";
Expand Down Expand Up @@ -55,5 +55,9 @@ public static class IconNames
public const string MOBI = "MoBi";
public const string PARAMETER_IDENTIFICATION = "ParameterIdentification";
public const string SENSITIVITY_ANALYSIS = "SensitivityAnalysis";
public static string Transporter = "Transporter";
public static string Protein = "Protein";
public static string Enzyme = "Enzyme";
public const string Module = "MODULE";
}
}
Loading