Skip to content

Commit 0a3414b

Browse files
committed
up
1 parent fb29b00 commit 0a3414b

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

src/main/java/cz/it4i/fiji/legacy/CloneEmptyDatasetFromN5toZarr.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import java.util.concurrent.ExecutionException;
2828
import java.util.concurrent.Future;
2929

30-
@Plugin(type = Command.class, headless = true, menuPath = "Plugins>HPC DataStore>Create ZARR>Create new dataset from existing N5")
30+
@Plugin(type = Command.class, headless = true, menuPath = "Plugins>HPC DataStore>ZARR Convert>Create new dataset from existing N5")
3131

3232
public class CloneEmptyDatasetFromN5toZarr implements Command {
3333
@Parameter(label = "URL of a reference DatasetsRegisterService:", persistKey = "datasetserverurl")

src/main/java/cz/it4i/fiji/legacy/CloneEmptyDatasetFromZarrtoN5.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
import org.scijava.command.Command;
44
import org.scijava.plugin.Plugin;
55

6-
@Plugin(type = Command.class, headless = true, menuPath = "Plugins>HPC DataStore>Create>Create empty dataset from Zarr")
6+
/*@Plugin(type = Command.class, headless = true, menuPath = "Plugins>HPC DataStore>Create>Create empty dataset from Zarr")
77
public class CloneEmptyDatasetFromZarrtoN5 implements Command{
88
@Override
99
public void run() {
1010
1111
}
1212
}
13+
*/

src/main/java/cz/it4i/fiji/legacy/CreateNewDatasetFromJSON.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public class CreateNewDatasetFromJSON implements Command {
3838
@Parameter(type = ItemIO.OUTPUT, label="Label of the created dataset:")
3939
public String newDatasetLabel;
4040

41-
@Parameter
42-
public String datasetType;
4341

4442
@Override
4543
public void run() {
@@ -48,10 +46,6 @@ public void run() {
4846

4947
try {
5048
String add="/datasets";
51-
/*if(datasetType.equals("Zarr"))
52-
{
53-
add+="zarr";
54-
}*/
5549
final HttpURLConnection connection = (HttpURLConnection)new URL("http://"+this.url+add).openConnection();
5650
connection.setRequestMethod("POST");
5751
connection.setRequestProperty("Content-Type","application/json");

src/main/java/cz/it4i/fiji/legacy/common/ImagePlusTransferrer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,6 @@ void writeWithAType(final RandomAccessibleInterval<T> rai, final T ofThisType) {
337337
myLogger.info("=========================");
338338
myLogger.info("Uploading "+t);
339339
connection = (HttpURLConnection) new URL(t.URL).openConnection();
340-
//todo clean
341-
System.out.println("URL for test"+URL);
342340
connection.setRequestMethod("POST");
343341
connection.setRequestProperty("Content-Type","application/octet-stream"); //to prevent from 415 err code (Unsupported Media Type)
344342
connection.setDoOutput(true);

0 commit comments

Comments
 (0)