Skip to content

Commit

Permalink
Add seabiscuit (S/P2-C2) model
Browse files Browse the repository at this point in the history
  • Loading branch information
pbjd committed Apr 21, 2017
1 parent 4e399f9 commit 694c265
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions kineticsTools/ipdSummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,15 +568,11 @@ def getIpdModelFilename(self):
return self.args.ipdModel

majorityChem = ReferenceUtils.loadAlignmentChemistry(self.alignments)
# Temporary solution for Sequel chemistries: we do not
# have trained kinetics models in hand yet for Sequel
# chemistries. However we have observed that the P5-C3
# training seems to yield fairly good results on Sequel
# chemistries to date. So for the moment, we will use
# that model for Sequel data.

# Route any sequel chemistries to seabsicuit training (for now)
if majorityChem.startswith("S/"):
logging.info("No trained model available yet for Sequel chemistries; modeling as P5-C3")
majorityChem = "P5-C3"
majorityChem = "SP2-C2"

if majorityChem == 'unknown':
logging.error("Chemistry cannot be identified---cannot perform kinetic analysis")
sys.exit(1)
Expand Down
Binary file added kineticsTools/resources/SP2-C2.h5
Binary file not shown.

0 comments on commit 694c265

Please sign in to comment.