File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/main/java/cz/it4i/fiji/legacy Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
33import com .fasterxml .jackson .databind .ObjectMapper ;
44import cz .it4i .fiji .rest .util .DatasetInfo ;
5+ import ij .plugin .frame .Recorder ;
56import org .scijava .ItemIO ;
67import org .scijava .command .Command ;
78import org .scijava .log .LogLevel ;
@@ -54,8 +55,10 @@ public void run() {
5455 newDatasetLabel = new ObjectMapper ().readValue (json , DatasetInfo .class ).getLabel ();
5556
5657 if (showRunCmd ) {
57- myLogger .info ("run(\" Create new dataset from JSON\" , 'url=" +this .url
58- + " json=" + this .json + " showruncmd=False');" );
58+ final String howToRun = "run(\" Create new dataset from JSON\" , 'url=" +this .url
59+ + " json=" + this .json + " showruncmd=False');" ;
60+ myLogger .info (howToRun );
61+ Recorder .recordString (howToRun );
5962 }
6063 mainLogger .info ("Created dataset UUID: " + newDatasetUUID );
6164 } catch (MalformedURLException e ) {
You can’t perform that action at this time.
0 commit comments