Changeset 1199
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksLib.py
r1196 r1199 70 70 ec.close() 71 71 print(ec.messages) # output all caught messages 72 assert ec.error_count._value() == 0, "Problem while importing file '%s'" % simfile # make missing files fatal because error messages are easy to overlook 72 if ec.error_count._value() > 0: 73 raise ValueError("Problem while importing file '%s'" % simfile) # make missing files or incorrect paths fatal because they would not stop Framsticks from further processing, and error messages are easy to overlook in output 73 74 74 75 -
framspy/frams.py
r1197 r1199 310 310 Python programs do not have to know the Framstics path but if they know, just pass the path as the first argument. 311 311 Similarly '-dPATH' and '-DPATH' needed by Framsticks are optional and derived from the first path, unless they are specified as args in init(). 312 '-LNAME' is the optional library name (full name including the file name extension), default is 'frams-objects.dll/.so ' depending on the platform.312 '-LNAME' is the optional library name (full name including the file name extension), default is 'frams-objects.dll/.so/.dylib' depending on the platform. 313 313 All other arguments are passed to Framsticks and not interpreted by this function. 314 314 """ -
framspy/gui.py
r1198 r1199 9 9 args = parser.parse_args() 10 10 11 if args. server and args.library:11 if args.library and args.server: 12 12 print("Do not provide both the library path and the network server address.") 13 13 sys.exit(2)
Note: See TracChangeset
for help on using the changeset viewer.