Skip to content

Commit

Permalink
Path is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha committed Oct 31, 2023
1 parent 0f4972e commit e571e38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions modelCsharp/TestModel/TestModel/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace TestModel
{
public class Test
{
private static void runPythonScript()
/* private static void runPythonScript()
{
//that is new with james
//string progToRun = dir + @"/../TestModel/testGraph/testGraph/testGraph.py";
Expand All @@ -41,7 +41,7 @@ private static void runPythonScript()
StreamReader sReader = proc.StandardOutput;
proc.WaitForExit();
Console.ReadLine();
}
}*/
public static void RunTests(Dictionary<string, object> _configDict)

{
Expand Down Expand Up @@ -110,7 +110,7 @@ public static void RunTests(Dictionary<string, object> _configDict)

}
// uncomment it if run is on local machine
runPythonScript();
//runPythonScript();

}

Expand Down
4 changes: 2 additions & 2 deletions modelCsharp/TestModel/testGraph/testGraph/testGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
path = os.getcwd()

#run it on machine
observed_path = os.path.join(path, "../../../../TestModel/Observed/observed.csv")
#observed_path = os.path.join(path, "../../../../TestModel/Observed/observed.csv")

#run this code for an action
#observed_path = "TestModel/Observed/observed.csv"
observed_path = "TestModel/Observed/observed.csv"

observed_data = pd.read_csv(observed_path,index_col=0)

Expand Down

0 comments on commit e571e38

Please sign in to comment.