Skip to content

Subsets are not recognized with findSim.py #39

@nishaann

Description

@nishaann

findSim.py gives the following Error when an experiment that has subsets is being used:

File "FindSim/findSim.py", line 1126, in innerMain
sw.loadModelFile( model.fileName, model.modify, scaleParam, dumpFname, paramFname )
File "/home/bhalla/nishaav/SynPlast/HTAutSim/FindSim/simWrapHillTau.py", line 210, in loadModelFile
modifyFunc( {}, "" ) # Callback.
File "FindSim/findSim.py", line 587, in modify
sw.subsetItems( self.modelSubset )
File "/home/bhalla/nishaav/SynPlast/HTAutSim/FindSim/simWrapHillTau.py", line 143, in subsetItems
raise SimError( "SimWrapHillTau::subsetItems: Entity '{}' not found".format( i ) )
simError.SimError: "SimWrapHillTau::subsetItems: Entity 'PKC_g' not found"
Failed for expt defn---------------: findSim failed for exptDefn Expts/Schaechter1993_Fig8.json: "SimWrapHillTau::subsetItems: Entity 'PKC_g' not found"

It fails to recognize the subsets listed out in experiment Modifications section. However, if the subet is set to 'all' it is able to run the experiment without any error messages. Experiment used for testing is Schaechter1993_Fig8.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions