Help users understand 0 partial reconstructions message

pull/552/head
Piero Toffanin 2018-11-03 14:50:31 -04:00
rodzic a3414e943a
commit d03ed3f096
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -235,7 +235,8 @@ class TaskListItem extends React.Component {
line.indexOf("loky.process_executor.TerminatedWorkerError:") !== -1 ||
line.indexOf("Failed to allocate memory") !== -1){
this.setState({memoryError: true});
}else if (line.indexOf("SVD did not converge") !== -1){
}else if (line.indexOf("SVD did not converge") !== -1 ||
line.indexOf("0 partial reconstructions in total") !== -1){
this.setState({friendlyTaskError: `It looks like the images might have one of the following problems:
<ul>
<li>Not enough images</li>
@ -531,7 +532,7 @@ class TaskListItem extends React.Component {
: ""}
</div>
</div>
<div className="row">
<div className="row clearfix">
<ErrorMessage bind={[this, 'actionError']} />
{actionButtons}
</div>

Wyświetl plik

@ -98,6 +98,9 @@
}
.console-buttons{
margin-left: 16px;
margin-bottom: 16px;
float: right;
text-align: right;
a{
margin-left: 4px;