Skip to content

Commit 9816ad0

Browse files
authored
Merge pull request #165 from rivm-syso/InitWorld_molec_fix
Added selection of default substance again
2 parents 3706ac8 + 74623c7 commit 9816ad0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

baseScripts/initWorld_onlyMolec.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
#script to faking the future library(SBoo)
44
source("baseScripts/fakeLib.R")
55

6+
#to run the script with another selection of substance / excel reference, #
7+
#set the variables substance and excelReference before sourcing this script
8+
if (!exists("substance")) {
9+
substance <- "default substance"
10+
}
11+
612
#The script creates the "ClassicStateModule" object with the states of the classic 4. excel version.
713
ClassicStateModule <- ClassicNanoWorld$new(MlikeFile = "data", Substance = substance) #by default Substance = "default substance"
814

0 commit comments

Comments
 (0)