Added check to the compositor script to make sure that the output
layout (.mag) file it generates does not already exist on disk, or
else it will end up duplicating the layout (which is bad).
diff --git a/scripts/compositor.py b/scripts/compositor.py
index 57bf3d4..0042292 100755
--- a/scripts/compositor.py
+++ b/scripts/compositor.py
@@ -96,6 +96,13 @@
     magpath = user_project_path + '/mag'
     rcfile = magpath + '/.magicrc'
 
+    # The compositor script will create <project_with_id>.mag, but is uses
+    # "load", so the file must not already exist.
+
+    if os.path.isfile(magpath + '/' + project_with_id + '.mag'):
+        print('Error:  File ' + project_with_id + '.mag exists already!  Exiting. . .')
+        sys.exit(1)
+
     with open(magpath + '/compose_final.tcl', 'w') as ofile:
         print('#!/bin/env wish', file=ofile)
         print('drc off', file=ofile)