Browse Source

Comment out all parts of NAC

Yentl Van Tendeloo 8 years ago
parent
commit
f7ca1aadbb
3 changed files with 3 additions and 4 deletions
  1. BIN
      bootstrap/bootstrap.m.gz
  2. 3 3
      bootstrap/ramify.alc
  3. 0 1
      integration/test_pn_interface.py

BIN
bootstrap/bootstrap.m.gz


+ 3 - 3
bootstrap/ramify.alc

@@ -49,7 +49,7 @@ Element function ramify_func(model : Element, prepost : String):
 		instantiate_attribute(new_model, "LHS_constraint", "target_upper_cardinality", 1)
 
 		//	Class NAC {}
-		instantiate_node(new_model, "Class", "NAC")
+		//instantiate_node(new_model, "Class", "NAC")
 
 		//	Class Pre_Element {
 		//		label : String {
@@ -74,8 +74,8 @@ Element function ramify_func(model : Element, prepost : String):
 		instantiate_attribute(new_model, "LHS_contains", "name", "contains")
 
 		// Association NAC_contains (NAC, Pre_Element) {}
-		instantiate_link(new_model, "Association", "NAC_contains", "NAC", "Pre_Element")
-		instantiate_attribute(new_model, "NAC_contains", "name", "contains")
+		//instantiate_link(new_model, "Association", "NAC_contains", "NAC", "Pre_Element")
+		//instantiate_attribute(new_model, "NAC_contains", "name", "contains")
 
 		inheritor = "Pre_Element"
 

+ 0 - 1
integration/test_pn_interface.py

@@ -641,7 +641,6 @@ Boolean function constraint(host_model : Element, name : String):
 include "primitives.alh"
 include "modelling.alh"
 Void function action(host_model : Element, name : String, mapping : Element):
-\tlog("Assigning " + cast_v2s(read_attribute(host_model, mapping["0_p"], "tokens")))
 \tinstantiate_attribute(host_model, name, "tokens", read_attribute(host_model, mapping["0_p"], "tokens"))
 \treturn!
             """