Skip to content

Commit

Permalink
fix two bugs in fitAllParallel
Browse files Browse the repository at this point in the history
- error in error message for runFitAllParallelWorker
- remove the test for SloppyCell C compiling for now (now in other unit tests)
  • Loading branch information
bcdaniels committed Jul 5, 2023
1 parent 84f35c3 commit da65ab6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SirIsaac/fitAllParallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import scipy
import time, copy, os
from .simplePickle import load,save
from .sloppyCellTest import testCcompiling
#from .sloppyCellTest import testCcompiling
from .fittingProblemMultipleCondition import *

def directoryPrefix(fileNumString,conditioni,numTimepoints):
Expand Down Expand Up @@ -577,11 +577,11 @@ def runFitAllParallelWorker(fileNumString,endTime=None,verbose=True):

# check that the fitProbData file exists
if not fileNumString+"_fitProbData.dat" in os.listdir('.'):
raise Exception("fitProbData database file not found: "+str(fitProbDatFilename))
raise Exception("fitProbData database file not found: {}_fitProbData.dat".format(fileNumString))

# 9.24.2013 make sure SloppyCell C compiling is working
if not testCcompiling():
raise Exception("SloppyCell C compiling not working.")
#if not testCcompiling():
# raise Exception("SloppyCell C compiling not working.")

if endTime is None: endTime = scipy.inf
startWallTime = time.time()
Expand Down

0 comments on commit da65ab6

Please sign in to comment.