Ticket #3582: generate.V1.py

File generate.V1.py, 428 bytes (added by fglaser@…, 5 years ago)

Added by email2trac

Line 
1#!/usr/bin/env python3
2
3import sys
4from chimerax.core.commands import run
5
6#print (str(sys.argv[1]))
7
8run(session, "open " + str(sys.argv[1]))
9#run(session, "open 1d66")
10run(session, "color red")
11run (session, "save fig1.png")
12
13run (session, "exit")
14
15#to run nogui should work like this in linux with offscreen option
16#in Mac it works like this but does not saves images
17#.../MacOS/ChimeraX --script "test.py 1d66" --nogui
18
19
20
21