 		@ready					= false
 		@error_msg				= []
 		@mode 					= 'kinetics'
-	
+
 	raise_error: (msg) ->
 		@error_msg.push msg
 

				cb data
			else
				# output to csv file
				# do it later
				cb data

		self._parsefile func_formatoutput, self



	_parsefile: (cb, self = @) ->
		func_parsefile = (data_array) ->
			results = []
			
			switch self.mode
				when 'kinetics'
					
				else
					self.error "Unsupport mode!"

			cb data_array

		self._loadfile func_parsefile, self
