540 |
import console |
import console |
541 |
console.create_widget(self) |
console.create_widget(self) |
542 |
|
|
543 |
|
import locale |
544 |
|
if locale.localeconv()['decimal_point'] != '.': |
545 |
|
self.reporter.reportError( |
546 |
|
"""Incompatible locale settings detected. Please set your system local to one which |
547 |
|
uses '.' as the decimal point separator, such as en_US or en_AU. Note that failing |
548 |
|
to make this change will cause input and output values to be truncated. |
549 |
|
For details, see http://ascendbugs.cheme.cmu.edu/view.php?id=337""" |
550 |
|
) |
551 |
|
|
552 |
def run(self): |
def run(self): |
553 |
self.window.show() |
self.window.show() |
554 |
loading.print_status("ASCEND is now running") |
loading.print_status("ASCEND is now running") |