Skip to content
Snippets Groups Projects
Commit d5ab2a00 authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

feature: iss1098 - new job

Job subdirectory -> Job working directory
Input -> Input data location (same for output)
Copying config.yaml
titles added
parent 122c77ed
No related branches found
No related tags found
No related merge requests found
......@@ -187,11 +187,12 @@ public class BenchmarkSPIMControl extends BorderPane implements CloseableControl
@Override
public void run() {
Alert al = new Alert(AlertType.CONFIRMATION,
"Main file \"" + CONFIG_YAML + "\" found in input directory \""
"The file \"" + CONFIG_YAML + "\" found in the defined data input directory \""
+ job.getInputDirectory()
+ "\". Would you like to copy it into job subdirectory \""
+ "\". Would you like to copy it into the job working directory \""
+ job.getDirectory() + "\"?",
ButtonType.YES, ButtonType.NO);
al.setHeaderText(null);
al.setTitle("Copy " + CONFIG_YAML + "?");
al.getDialogPane().setMinHeight(Region.USE_PREF_SIZE);
......
......@@ -7,6 +7,7 @@
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.control.ToggleGroup?>
<?import javafx.scene.control.Tooltip?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
......@@ -16,7 +17,7 @@
<center>
<VBox BorderPane.alignment="CENTER">
<children>
<TitledPane animated="false" collapsible="false" text="Input">
<TitledPane animated="false" collapsible="false" text="Input data location">
<content>
<AnchorPane>
<children>
......@@ -27,13 +28,19 @@
<ToggleGroup fx:id="tg_inputDataLocation" />
</toggleGroup>
<graphic>
<Label maxHeight="1.7976931348623157E308" text="Demonstration data on IT4I cluster" />
<Label maxHeight="1.7976931348623157E308" text="Demonstration data on the Salomon IT4I cluster" />
</graphic>
<tooltip>
<Tooltip text="Demonstration data located on the Salomon IT4I cluster will be used and there will be created config.yaml in the job working directory." />
</tooltip>
</RadioButton>
<RadioButton maxHeight="1.7976931348623157E308" mnemonicParsing="false" toggleGroup="$tg_inputDataLocation">
<graphic>
<Label maxHeight="1.7976931348623157E308" text="Job subdirectory" />
<Label maxHeight="1.7976931348623157E308" text="Job working directory" />
</graphic>
<tooltip>
<Tooltip text="Job working directory will be used as location for input data. Data and config.yaml will be needed to copy into it." />
</tooltip>
</RadioButton>
<RadioButton fx:id="rb_ownInput" mnemonicParsing="false" toggleGroup="$tg_inputDataLocation">
<graphic>
......@@ -44,6 +51,9 @@
</children>
</HBox>
</graphic>
<tooltip>
<Tooltip text="External directory will be used as location for the input data. The file config.yaml could be automaticaly copied from the directory into the job working directory." />
</tooltip>
</RadioButton>
</children>
</VBox>
......@@ -51,7 +61,7 @@
</AnchorPane>
</content>
</TitledPane>
<TitledPane animated="false" collapsible="false" text="Output">
<TitledPane animated="false" collapsible="false" text="Output data location">
<content>
<AnchorPane minHeight="0.0" minWidth="0.0">
<children>
......@@ -64,7 +74,7 @@
<ToggleGroup fx:id="tg_outputDataLocation" />
</toggleGroup>
<graphic>
<Label maxHeight="1.7976931348623157E308" text="Job subdirectory" />
<Label maxHeight="1.7976931348623157E308" text="Job working directory" />
</graphic>
</RadioButton>
</children>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment