Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
how to raise an exception or error (Read 1706 times)
JDB
YaBB Newbies
*
Offline


Curious HyPhy user

Posts: 7
how to raise an exception or error
Jul 1st, 2013 at 11:31am
 
Is it possible to make a HyPhy batch script raise an exception or error, or at least halt execution? I am writing a script, and I would like to get some visible error and program halting if a specific condition is met.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: how to raise an exception or error
Reply #1 - Jul 1st, 2013 at 3:17pm
 
Hi Jesse,

Use the assert statement (you may need to download and compile the hyphyqt branch of Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login).
See Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login

Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged