Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigDataViewer_Server_Extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioinformaticDataCompression
BigDataViewer_Server_Extension
Commits
9ce866d2
Commit
9ce866d2
authored
4 years ago
by
Vojtech Moravec
Browse files
Options
Downloads
Patches
Plain Diff
Modify the compress-from key to match overall used naming schema.
parent
073fe67e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/bdv/server/BigDataServer.java
+7
-6
7 additions, 6 deletions
src/main/java/bdv/server/BigDataServer.java
with
7 additions
and
6 deletions
src/main/java/bdv/server/BigDataServer.java
+
7
−
6
View file @
9ce866d2
...
...
@@ -218,7 +218,8 @@ public class BigDataServer {
@SuppressWarnings
(
"static-access"
)
static
private
Parameters
processOptions
(
final
String
[]
args
,
final
Parameters
defaultParameters
)
throws
IOException
{
final
String
ENABLE_COMPRESSION
=
"qcmp"
;
final
String
CompressFromKey
=
"compressFrom"
;
final
String
CompressFromShortKey
=
"cf"
;
final
String
CompressFromLongKey
=
"compress-from"
;
// create Options object
final
Options
options
=
new
Options
();
...
...
@@ -270,11 +271,11 @@ public class BigDataServer {
options
.
addOption
(
new
OptionWithOrder
(
CliConstants
.
createCBCMethod
(),
++
optionOrder
));
options
.
addOption
(
new
OptionWithOrder
(
CliConstants
.
createSQOption
(),
++
optionOrder
));
//
options.addOption(new OptionWithOrder(CliConstants.createSQOption(), ++optionOrder));
options
.
addOption
(
new
OptionWithOrder
(
CliConstants
.
createVQOption
(),
++
optionOrder
));
options
.
addOption
(
new
OptionWithOrder
(
CliConstants
.
createVerboseOption
(
false
),
++
optionOrder
));
options
.
addOption
(
new
OptionWithOrder
(
new
Option
(
CompressFrom
Key
,
true
,
"Level from which the compression is enabled."
)
,
++
optionOrder
));
options
.
addOption
(
new
OptionWithOrder
(
new
Option
(
CompressFrom
ShortKey
,
CompressFromLongKey
,
true
,
"Level from which the compression is enabled."
),
++
optionOrder
));
if
(
Constants
.
ENABLE_EXPERIMENTAL_FEATURES
)
{
...
...
@@ -333,8 +334,8 @@ public class BigDataServer {
compressionOptions
.
setVerbose
(
cmd
.
hasOption
(
CliConstants
.
VERBOSE_LONG
));
if
(
cmd
.
hasOption
(
CompressFromKey
))
{
compressionOptions
.
setCompressFromMipmapLevel
(
Integer
.
parseInt
(
cmd
.
getOptionValue
(
CompressFromKey
)));
if
(
cmd
.
hasOption
(
CompressFrom
Long
Key
))
{
compressionOptions
.
setCompressFromMipmapLevel
(
Integer
.
parseInt
(
cmd
.
getOptionValue
(
CompressFrom
Long
Key
)));
}
final
StringBuilder
compressionReport
=
new
StringBuilder
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment