From 0e9eda9082fb6c9c53b4f1562f69126ba74d9883 Mon Sep 17 00:00:00 2001
From: "Ryan@fsunuc"
Date: Wed, 11 Jan 2023 20:58:46 -0500
Subject: [PATCH] bug fix
---
instruction.html | 2 +-
simpleInput.py | 4 +++-
simpleSim.html | 26 +++++++++++++++++---------
3 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/instruction.html b/instruction.html
index 6dae52c..d5c5110 100644
--- a/instruction.html
+++ b/instruction.html
@@ -33,7 +33,7 @@
The easiest way to do DWBA and Monte Carlo Simulation is use the Simplied Interface
The kenimatic calculation is documented in Here.
The DWBA calucation is using Ptolemy. Here for more detail.
- Past calculations can be found Here
+ Past calculations can be found Here. Clear every day
diff --git a/simpleInput.py b/simpleInput.py
index e5a630b..91d7732 100755
--- a/simpleInput.py
+++ b/simpleInput.py
@@ -170,7 +170,7 @@ plotStr="{"
plotSize=len(plot)
for i in range(plotSize):
plotStr += plot[i] + ", "
- if( i == (int)(plotSize/2) and i > 3 ) :
+ if( i == (int)(plotSize/2) and plotSize > 3 ) :
plotStr += "break, "
plotStr +="pInfo}\n"
@@ -290,6 +290,8 @@ if isDWBA:
print ("
%s " % result)
print ("
%s " % haha)
+print (plotStr)
+
print ("