Changes for page Widget PSE

Last modified by teodoramisan on 2023/07/21 14:55

From version 21.1
edited by teodoramisan
on 2023/07/21 12:21
Change comment: There is no comment for this version
To version 24.1
edited by teodoramisan
on 2023/07/21 14:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -101,7 +101,7 @@
101 101  Then, a file name has to be inserted in the indicated box(for storing the data) and as a last set-up, a launch type has to be chosen.
102 102  
103 103  
104 -The progress of the launch can be monitored by a progress bar, as shown below:
104 +The progress of the launch can be monitored by a progress bar (as shown below) and the data used for the HPC launch will be stored in a .toml file available besides the notebook.
105 105  
106 106  (% style="text-align:center" %)
107 107  [[image:image-20230721151330-2.png||alt="progress-bar.png"]]
... ... @@ -112,7 +112,14 @@
112 112  
113 113  (% class="box" %)
114 114  (((
115 -pse = PSEWidget("test.h5")
115 +import os.path
116 +
117 +file_name = "test.h5"
118 +
119 +if os.path.exists(file_name):
120 + pse = PSEWidget(file_name)
121 +else:
122 + print(f"File {file_name} needs to exist!")
116 116  )))
117 117  
118 118   The outcome will be something like in the image bellow.
Public

TVB Widgets