Skip to content

Commit fb29b00

Browse files
committed
write working
1 parent 4c81d35 commit fb29b00

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/main/java/cz/it4i/fiji/datastore/rest_client/WriteSequenceToN5.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public static void writeN5File(final AbstractSequenceDescription<?, ?, ?> seq,
181181
int numCompletedTasks = 0;
182182

183183
final ExecutorService executorService = Executors.newFixedThreadPool( numCellCreatorThreads );
184+
//TODO FIND N5 WRITER AND MAKE HIM CHANGABLE
184185
try (N5Writer n5 = writerSupplier.get()) {
185186
// write image data for all views
186187
final int numTimepoints = timepointIds.size();

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ protected void updateSpatialRanges() {
105105
/** updates currentResLevel given the current choice in resolutionLevelsAsStr,
106106
sets currentResLevel to null when resolutionLevelsAsStr is not valid */
107107
protected void matchResLevel() {
108+
//TODO CLEAR
108109
myLogger.info("going to match against: "+resolutionLevelsAsStr);
110+
System.out.println(resolutionLevelsAsStr);
109111
int i = 0;
110112
while (i < di.resolutionLevels.size()) {
111113
DatasetInfo.ResolutionLevel l = di.resolutionLevels.get(i);

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ 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);
340342
connection.setRequestMethod("POST");
341343
connection.setRequestProperty("Content-Type","application/octet-stream"); //to prevent from 415 err code (Unsupported Media Type)
342344
connection.setDoOutput(true);

0 commit comments

Comments
 (0)