Exemple #1
0
 def serialize(self):
     try:
         return serialize(self.__dict__)
     except:
         tolog(
             ' received exception while converting BalsamJob to json string: '
             + str(sys.exc_info()[1]))
         raise
Exemple #2
0
    def serialize(self):
        # create temp ArgoJob and fill with this list of json job strings
        tmp_argojob = ArgoJob()
        tmp_argojob.__dict__ = self.__dict__.copy()
        tmp_argojob.jobs = self.get_jobs_dictionary_list()

        try:
            return serialize(tmp_argojob.__dict__)
        except:
            tolog(" received exception while converting ArgoJob to json string: " + str(sys.exc_info()[1]))
            raise
Exemple #3
0
    def serialize(self):
        # create temp ArgoJob and fill with this list of json job strings
        tmp_argojob = ArgoJob()
        tmp_argojob.__dict__ = self.__dict__.copy()
        tmp_argojob.jobs = self.get_jobs_dictionary_list()

        try:
            return serialize(tmp_argojob.__dict__)
        except:
            tolog(
                ' received exception while converting ArgoJob to json string: '
                + str(sys.exc_info()[1]))
            raise
Exemple #4
0
 def serialize(self):
     try:
         return serialize(self.__dict__)
     except:
         tolog(" received exception while converting BalsamJob to json string: " + str(sys.exc_info()[1]))
         raise
Exemple #5
0
 def get_job_list_text(self):
     return serialize(self.get_jobs_dictionary_list())
Exemple #6
0
 def get_serialized_message(self):
     return serialize(self.__dict__)
Exemple #7
0
 def get_job_list_text(self):
     return serialize(self.get_jobs_dictionary_list())
Exemple #8
0
 def get_serialized_message(self):
     return serialize(self.__dict__)