Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
MosaicSuite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sbalzarini Lab
MosaicSuite
Commits
beb8ab28
Commit
beb8ab28
authored
Feb 01, 2019
by
gonciarz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
50d1c92f
57ac32c0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
pom.xml
pom.xml
+1
-1
src/main/java/mosaic/core/utils/ShellCommand.java
src/main/java/mosaic/core/utils/ShellCommand.java
+1
-1
src/main/java/mosaic/plugins/BregmanGLM_Batch.java
src/main/java/mosaic/plugins/BregmanGLM_Batch.java
+5
-3
No files found.
pom.xml
View file @
beb8ab28
...
...
@@ -7,7 +7,7 @@
<groupId>
mosaic
</groupId>
<artifactId>
MosaicSuite
</artifactId>
<packaging>
jar
</packaging>
<version>
1.0.1
6
</version>
<version>
1.0.1
7
</version>
<description>
Package contains image processing algorithms developed in MOSAIC Group
</description>
<url>
http://mosaic.mpi-cbg.de/?q=downloads/imageJ
</url>
<inceptionYear>
2010
</inceptionYear>
...
...
src/main/java/mosaic/core/utils/ShellCommand.java
View file @
beb8ab28
...
...
@@ -31,7 +31,7 @@ public class ShellCommand {
// we can use bash
return
new
String
[]
{
"bash"
,
"-c"
,
cmd
};
}
return
new
String
[]
{
"cmd"
,
cmd
};
return
new
String
[]
{
"cmd
/C
"
,
cmd
};
}
/**
...
...
src/main/java/mosaic/plugins/BregmanGLM_Batch.java
View file @
beb8ab28
...
...
@@ -69,6 +69,8 @@ public class BregmanGLM_Batch implements Segmentation {
if
(
iIsMacro
)
{
aArgs
=
Macro
.
getOptions
();
}
if
(
aArgs
==
null
)
aArgs
=
""
;
logger
.
info
(
"Input options: ["
+
aArgs
+
"]"
);
iParameters
=
readConfiguration
(
aArgs
);
iParameters
.
nthreads
=
readNumberOfThreads
(
aArgs
);
...
...
@@ -294,11 +296,11 @@ public class BregmanGLM_Batch implements Segmentation {
RScript
.
makeRScript
(
aOutputSavePath
,
aObjectsDataFile
,
aObjectsColocFile
,
aImagesDataFile
,
aChannelPairs
,
iParameters
.
nbimages
,
iParameters
.
groupnames
,
iParameters
.
ch1
,
iParameters
.
ch2
);
// Try to run the R script
try
{
logger
.
debug
(
"================ RSCRIPT BEGIN ===================="
);
logger
.
info
(
"================ RSCRIPT BEGIN ===================="
);
String
command
=
"cd "
+
aOutputSavePath
+
"; Rscript "
+
aOutputSavePath
+
File
.
separator
+
RScript
.
ScriptName
;
logger
.
debug
(
"Command: ["
+
command
+
"]"
);
logger
.
info
(
"Command: ["
+
command
+
"]"
);
ShellCommand
.
exeCmdString
(
command
);
logger
.
debug
(
"================ RSCRIPT END ===================="
);
logger
.
info
(
"================ RSCRIPT END ===================="
);
}
catch
(
final
IOException
e
)
{
e
.
printStackTrace
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment