Parcourir la source

Remove debugging prints

Yentl Van Tendeloo il y a 8 ans
Parent
commit
b5fecf7a7d
2 fichiers modifiés avec 2 ajouts et 22 suppressions
  1. 1 13
      classes/modelverse/modelverse.xml
  2. 1 9
      frontend.py

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 13
classes/modelverse/modelverse.xml


+ 1 - 9
frontend.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Mon Oct 30 14:04:29 2017
+Date:   Mon Oct 30 14:08:31 2017
 
 Model author: Yentl Van Tendeloo
 Model name:   Modelverse Visual Editor - Tkinter Version 
@@ -2078,7 +2078,6 @@ class Modelverse(RuntimeClassBase):
         _initialized_behaviour_wait_for_action_megamodelling_35.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_35_guard)
         self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_35)
         _initialized_behaviour_wait_for_action_megamodelling_36 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/going_manual"]])
-        _initialized_behaviour_wait_for_action_megamodelling_36.setAction(self._initialized_behaviour_wait_for_action_megamodelling_36_exec)
         _initialized_behaviour_wait_for_action_megamodelling_36.setTrigger(None)
         _initialized_behaviour_wait_for_action_megamodelling_36.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_36_guard)
         self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_36)
@@ -2405,7 +2404,6 @@ class Modelverse(RuntimeClassBase):
         self.raiseInternalEvent(Event("request", None, [['transformation_between'] + self.dict_to_list(self.parameters[0]) + self.dict_to_list(self.parameters[1])]))
     
     def _initialized_behaviour_operations_transformation_signature_enter(self):
-        print("Signature of " + str(self.parameters[0]))
         self.raiseInternalEvent(Event("request", None, [['transformation_read_signature', self.parameters[0]]]))
     
     def _initialized_behaviour_operations_store_on_scripted_transformation_add_MT_send_metadata_enter(self):
@@ -2826,7 +2824,6 @@ class Modelverse(RuntimeClassBase):
     def _initialized_behaviour_init_waiting_http_client_0_exec(self, parameters):
         self.raiseInternalEvent(Event("request_raw", None, [self.taskname, 'task_manager', self.i]))
         self.i += 1
-        print("READY")
     
     def _initialized_behaviour_init_waiting_http_client_1_exec(self, parameters):
         self.raiseInternalEvent(Event("exception", None, ['NetworkException', 'Connection timeout']))
@@ -2967,7 +2964,6 @@ class Modelverse(RuntimeClassBase):
     
     def _initialized_behaviour_operations_transformation_signature_0_exec(self, parameters):
         results = self.split_response(self.responses.pop(0))
-        print("Got signature: " + str(results))
         inputs = {}
         outputs = {}
         for result in results:
@@ -3033,7 +3029,6 @@ class Modelverse(RuntimeClassBase):
     
     def _initialized_behaviour_operations_store_on_scripted_transformation_execute_dialog_0_exec(self, parameters):
         self.raiseInternalEvent(Event("result", None, [True if self.responses.pop(0) == 'Success' else False]))
-        print("RAISING FINISHED")
     
     def _initialized_behaviour_operations_store_on_scripted_transformation_execute_dialog_0_guard(self, parameters):
         return self.expect_response('Success', pop=False) or self.expect_response('Failure', pop=False)
@@ -3605,9 +3600,6 @@ class Modelverse(RuntimeClassBase):
     def _initialized_behaviour_wait_for_action_megamodelling_35_guard(self, parameters):
         return self.expect_action(None, 'model_types')
     
-    def _initialized_behaviour_wait_for_action_megamodelling_36_exec(self, parameters):
-        print("Going manual for operations: " + str(self.actions[None]))
-    
     def _initialized_behaviour_wait_for_action_megamodelling_36_guard(self, parameters):
         return self.expect_action(None, ['element_list', 'element_list_nice', 'types', 'types_full', 'read_info', 'read_attrs', 'read_defined_attrs', 'instantiate', 'delete_element', 'attr_assign', 'attr_assign_code', 'attr_delete', 'read_outgoing', 'read_incoming', 'read_association_source', 'read_association_destination', 'connections_between', 'define_attribute', 'undefine_attribute', 'all_instances', 'attr_optional', 'attr_type', 'attr_name'])