コード例 #1
0
ファイル: emsave.py プロジェクト: CVL-dev/StructuralBiology
	def __gen_tmp_file_name(self):
		'''
		Called internally - attempts to make a unique file name using gm_time_string
		'''
		new_ending = gm_time_string()
		new_ending = new_ending.replace(" ","_") #just because 
		new_ending = new_ending.replace(":","_") #just because
		self.__tmp_db_name = self.__orig_db_name + new_ending
コード例 #2
0
ファイル: emsave.py プロジェクト: phonchi/eman2
    def __gen_tmp_file_name(self):
        '''
		Called internally - attempts to make a unique file name using gm_time_string
		'''
        new_ending = gm_time_string()
        new_ending = new_ending.replace(" ", "_")  #just because
        new_ending = new_ending.replace(":", "_")  #just because
        self.__tmp_db_name = self.__orig_db_name + new_ending
コード例 #3
0
ファイル: emsave.py プロジェクト: CVL-dev/StructuralBiology
	def __gen_tmp_file_names(self):
		'''
		Called internally - attempts to make a unique file name using gm_time_string
		'''
		new_ending = gm_time_string()
		new_ending = new_ending.replace(" ","_") #just because 
		new_ending = new_ending.replace(":","_") #just because
		self.__tmp_file_name_hed = self.__file_name_root + new_ending + ".hed"
		self.__tmp_file_name_img = self.__file_name_root + new_ending + ".img"
コード例 #4
0
ファイル: emsave.py プロジェクト: phonchi/eman2
    def __gen_tmp_file_names(self):
        '''
		Called internally - attempts to make a unique file name using gm_time_string
		'''
        new_ending = gm_time_string()
        new_ending = new_ending.replace(" ", "_")  #just because
        new_ending = new_ending.replace(":", "_")  #just because
        self.__tmp_file_name_hed = self.__file_name_root + new_ending + ".hed"
        self.__tmp_file_name_img = self.__file_name_root + new_ending + ".img"