Commits

German Larrain  committed c5424e0

app.Program: removed file-related attributes and methods, which were
half-implemented and not in use.

  • Participants
  • Parent commits acb4636

Comments (0)

Files changed (1)

File ars/app/__init__.py

 	-call its 'start' method (i.e. sim_program.start() )
 
 	"""
-	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.
 		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
 	#==========================================================================