Commits

German Larrain committed 28462ca

backport of c5424e029c75

  • Participants
  • Parent commits 5d1281a
  • Branches 0.3.x

Comments (0)

Files changed (1)

File ars/app/__init__.py

 
 	"""
 
-	WRITE_DATA_FILES = False
 	DEBUG = False
 	PRINT_KEY_INFO = True
 
 
 		"""
 		self.do_create_window = True
-		self.data_files_names = None # TODO
-		self.data_files = None # TODO
 
 		self.key_press_functions = None
 		self.sim = None
 		restart if :attr:`do_create_window` has been previously set to ``True``.
 
 		"""
-
-		if self.WRITE_DATA_FILES: self.sim.data_files = self.open_files()
-
 		while self.do_create_window:
 			self.do_create_window = False
 			self.gAdapter.start_window(self.sim.on_idle, self.reset_simulation,
 				self.on_action_selection)
 
-		# after the window is closed
-		if self.WRITE_DATA_FILES: self.close_files(self.sim.data_files)
-
 	def reset_simulation(self):
 		"""Resets the simulation by resetting the graphics adapter and creating
 		a new simulation.
 		"""decrement the position of an already selected joint"""
 		print('dec_joint_pos has not been implemented yet')
 
-
-#===============================================================================
-# FILES methods
-#===============================================================================
-
-	def read_filenames(self):
-		print('read_filenames has not been implemented')
-
-	def open_files(self):
-		print('open_files has not been implemented')
-
-	def close_files(self, files):
-		# TODO
-		for _key in files:
-			files[_key].close()
-
 	#==========================================================================
 	# other
 	#==========================================================================