-
Notifications
You must be signed in to change notification settings - Fork 2
Zarr New #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Zarr New #25
Conversation
} catch (IOException | ModuleException e) { | ||
myLogger.error("Some error accessing the reference service and dataset: "+e.getMessage()); | ||
} catch (ExecutionException e) { | ||
e.printStackTrace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use logger
@@ -181,6 +181,7 @@ public static void writeN5File(final AbstractSequenceDescription<?, ?, ?> seq, | |||
int numCompletedTasks = 0; | |||
|
|||
final ExecutorService executorService = Executors.newFixedThreadPool( numCellCreatorThreads ); | |||
//TODO FIND N5 WRITER AND MAKE HIM CHANGABLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is possible to make TODO before pull request.
|
||
di.compression = this.compression.equals("none") ? "raw" : this.compression; | ||
|
||
//TODO totally random solution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it still true - it should not be in a master branch this kind of solution.
@@ -134,7 +137,14 @@ public void run() { | |||
di.channelResolution = new DatasetInfo.ResolutionWithOwnUnit(channel_res, channel_unit); | |||
di.angleResolution = new DatasetInfo.ResolutionWithOwnUnit(angle_res, angle_unit); | |||
|
|||
di.compression = this.compression.equals("none") ? "raw" : this.compression; | |||
//di.compression = this.compression.equals("none") ? "raw" : this.compression; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented part of code before integration.
@Override | ||
public void run() { | ||
//logging facility | ||
myLogger = mainLogger.subLogger("HPC CreateDataset", LogLevel.INFO); | ||
|
||
try { | ||
final HttpURLConnection connection = (HttpURLConnection)new URL("http://"+this.url+"/datasets").openConnection(); | ||
String add="/datasets"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the local variable is introduced?
@@ -105,7 +105,9 @@ protected void updateSpatialRanges() { | |||
/** updates currentResLevel given the current choice in resolutionLevelsAsStr, | |||
sets currentResLevel to null when resolutionLevelsAsStr is not valid */ | |||
protected void matchResLevel() { | |||
//TODO CLEAR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make todo
myLogger.info("going to match against: "+resolutionLevelsAsStr); | ||
System.out.println(resolutionLevelsAsStr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not use println for logging.
@@ -32,6 +32,7 @@ public class DatasetInfo { | |||
public List<Integer> versions; | |||
public String label; | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
white space may be removed.
Cleaned up from old TODOS etc. |
No description provided.