public class RepositoryProcessor extends Object
Constructor and Description |
---|
RepositoryProcessor(File storageDir,
File workingDir,
de.unirostock.sems.bives.sbml.algorithm.SBMLValidator valSBML,
de.unirostock.sems.bives.cellml.algorithm.CellMLValidator valCellMl,
FileStatsWriter fsw,
DiffStatsWriter dsw,
Map<String,ComodiTermCounter> comodiTerms)
Instantiates a new biomodels processor.
|
Modifier and Type | Method and Description |
---|---|
static void |
clean(Map<String,Model> models)
Clean.
|
boolean |
compare(ModelVersion originalVersion,
ModelVersion modifiedVersion,
Model m,
File workingDir)
Compare.
|
void |
generateFileStats(ModelVersion modelVersion,
Date date,
Model m)
Do file stats.
|
void |
process()
Process.
|
void |
process(File dir)
Process biomodels.
|
void |
processModel(Model m)
Process model.
|
void |
processWorkingDir(File f)
Process model.
|
public RepositoryProcessor(File storageDir, File workingDir, de.unirostock.sems.bives.sbml.algorithm.SBMLValidator valSBML, de.unirostock.sems.bives.cellml.algorithm.CellMLValidator valCellMl, FileStatsWriter fsw, DiffStatsWriter dsw, Map<String,ComodiTermCounter> comodiTerms)
storageDir
- the storage dirworkingDir
- the working dirvalSBML
- the val sbmlvalCellMl
- the val cell mlfsw
- the fswdsw
- the dswcomodiTerms
- the comodi termspublic void process()
public void process(File dir)
dir
- the dirpublic void processWorkingDir(File f) throws FileNotFoundException, IOException, org.json.simple.parser.ParseException
f
- the fFileNotFoundException
- the file not found exceptionIOException
- Signals that an I/O exception has occurred.org.json.simple.parser.ParseException
- the parse exceptionpublic void processModel(Model m)
m
- the mpublic boolean compare(ModelVersion originalVersion, ModelVersion modifiedVersion, Model m, File workingDir)
originalVersion
- the original versionmodifiedVersion
- the modified versionm
- the mworkingDir
- the working dirpublic void generateFileStats(ModelVersion modelVersion, Date date, Model m)
modelVersion
- the model versiondate
- the datem
- the mCopyright © 2018 SEMS project @ University of Rostock. All rights reserved.